summaryrefslogtreecommitdiffstats
path: root/examples/nft-table-get.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 18:57:50 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 20:01:06 +0200
commit44d11498479a08f46a64431d60ed19d4aba94dad (patch)
treedadacc81e466ae82d285945de6a8e1a5078db327 /examples/nft-table-get.c
parent0e7b6c4983af4ddd3a50c3ce756638af157c7130 (diff)
src: get rid of _attr_ infix in new nftnl_ definitions
The function 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-table-get.c')
-rw-r--r--examples/nft-table-get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/nft-table-get.c b/examples/nft-table-get.c
index 84524b0..d648a11 100644
--- a/examples/nft-table-get.c
+++ b/examples/nft-table-get.c
@@ -104,7 +104,7 @@ int main(int argc, char *argv[])
} else {
nlh = nftnl_table_nlmsg_build_hdr(buf, NFT_MSG_GETTABLE, family,
NLM_F_ACK, seq);
- nftnl_table_attr_set(t, NFTNL_TABLE_NAME, argv[2]);
+ nftnl_table_set(t, NFTNL_TABLE_NAME, argv[2]);
nftnl_table_nlmsg_build_payload(nlh, t);
nftnl_table_free(t);
}