summaryrefslogtreecommitdiffstats
path: root/examples/nft-set-get.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 18:02:50 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 20:01:05 +0200
commit0e7b6c4983af4ddd3a50c3ce756638af157c7130 (patch)
tree2a2a0245283905a7540a292c5181926e6070ad4a /examples/nft-set-get.c
parentd549a220dc3cd3294f4b16a5c04c9df298835486 (diff)
src: get rid of _ATTR_ infix in new nfntl_ definitions
The constant names are already large, trim off the _ATTR_ infix in the attribute definitions. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples/nft-set-get.c')
-rw-r--r--examples/nft-set-get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nft-set-get.c b/examples/nft-set-get.c
index aec76e8..a8a133f 100644
--- a/examples/nft-set-get.c
+++ b/examples/nft-set-get.c
@@ -89,7 +89,7 @@ int main(int argc, char *argv[])
nlh = nftnl_set_nlmsg_build_hdr(buf, NFT_MSG_GETSET, family,
NLM_F_DUMP|NLM_F_ACK, seq);
/* Use this below if you want to obtain sets per table */
-/* nftnl_set_attr_set(t, NFT_SET_ATTR_TABLE, argv[2]); */
+/* nftnl_set_attr_set(t, NFT_SET_TABLE, argv[2]); */
nftnl_set_nlmsg_build_payload(nlh, t);
nftnl_set_free(t);