diff options
Diffstat (limited to 'examples/nft-chain-del.c')
-rw-r--r-- | examples/nft-chain-del.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nft-chain-del.c b/examples/nft-chain-del.c index 0b04daa..29953d7 100644 --- a/examples/nft-chain-del.c +++ b/examples/nft-chain-del.c @@ -30,8 +30,8 @@ static struct nftnl_chain *chain_del_parse(int argc, char *argv[]) return NULL; } - nftnl_chain_attr_set(t, NFTNL_CHAIN_ATTR_TABLE, argv[2]); - nftnl_chain_attr_set(t, NFTNL_CHAIN_ATTR_NAME, argv[3]); + nftnl_chain_attr_set(t, NFTNL_CHAIN_TABLE, argv[2]); + nftnl_chain_attr_set(t, NFTNL_CHAIN_NAME, argv[3]); return t; } |