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 09a4718..9956009 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_set(t, NFTNL_CHAIN_TABLE, argv[2]); - nftnl_chain_set(t, NFTNL_CHAIN_NAME, argv[3]); + nftnl_chain_set_str(t, NFTNL_CHAIN_TABLE, argv[2]); + nftnl_chain_set_str(t, NFTNL_CHAIN_NAME, argv[3]); return t; } |