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-set-del.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/nft-set-del.c') diff --git a/examples/nft-set-del.c b/examples/nft-set-del.c index 897793a..ae87608 100644 --- a/examples/nft-set-del.c +++ b/examples/nft-set-del.c @@ -56,8 +56,8 @@ int main(int argc, char *argv[]) nlh = nftnl_set_nlmsg_build_hdr(buf, NFT_MSG_DELSET, family, NLM_F_ACK, seq); - nftnl_set_attr_set(t, NFTNL_SET_ATTR_TABLE, argv[2]); - nftnl_set_attr_set(t, NFTNL_SET_ATTR_NAME, argv[3]); + nftnl_set_attr_set(t, NFTNL_SET_TABLE, argv[2]); + nftnl_set_attr_set(t, NFTNL_SET_NAME, argv[3]); nftnl_set_nlmsg_build_payload(nlh, t); nftnl_set_free(t); -- cgit v1.2.3