From 0e7b6c4983af4ddd3a50c3ce756638af157c7130 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 7 Sep 2015 18:02:50 +0200 Subject: 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 --- examples/nft-table-get.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/nft-table-get.c') diff --git a/examples/nft-table-get.c b/examples/nft-table-get.c index 8e37556..84524b0 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_ATTR_NAME, argv[2]); + nftnl_table_attr_set(t, NFTNL_TABLE_NAME, argv[2]); nftnl_table_nlmsg_build_payload(nlh, t); nftnl_table_free(t); } -- cgit v1.2.3