summaryrefslogtreecommitdiffstats
path: root/examples/nft-chain-del.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nft-chain-del.c')
-rw-r--r--examples/nft-chain-del.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nft-chain-del.c b/examples/nft-chain-del.c
index 29953d7..b756b46 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_TABLE, argv[2]);
- nftnl_chain_attr_set(t, NFTNL_CHAIN_NAME, argv[3]);
+ nftnl_chain_set(t, NFTNL_CHAIN_TABLE, argv[2]);
+ nftnl_chain_set(t, NFTNL_CHAIN_NAME, argv[3]);
return t;
}