summaryrefslogtreecommitdiffstats
path: root/include/libnftables/table.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-07-10 18:34:57 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-07-10 18:51:11 +0200
commit013227cb6f13cbab2fbccbeb750199a051fd7a43 (patch)
treedb99a745cdbe3eaa21b0689852591be5098fb358 /include/libnftables/table.h
parenta73f84d41b93c7945acdbdc92199e1c257887191 (diff)
examples: nft-{table,chain,rule}-xml-add: fix missing NLM_F_CREATE
Thus, automodule loading was not working. While at it, apply not so relevant comestic cleanups and fix some inconsistencies between examples. * Fix copyright header, this is code heavily based on existing nft-*-add examples. * Remove unrequired extern struct nft_table definition. * Make sure we close file descriptor once we don't need it anymore. * Remove unrequired casting. * Remove comment that provides nothing interesting. I considered a patch to address each on those was too much burden. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftables/table.h')
0 files changed, 0 insertions, 0 deletions