summaryrefslogtreecommitdiffstats
path: root/examples/nft-flowtable-get.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nft-flowtable-get.c')
-rw-r--r--examples/nft-flowtable-get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nft-flowtable-get.c b/examples/nft-flowtable-get.c
index 1a034ce..0d92fff 100644
--- a/examples/nft-flowtable-get.c
+++ b/examples/nft-flowtable-get.c
@@ -75,8 +75,8 @@ int main(int argc, char *argv[])
}
nlh = nftnl_flowtable_nlmsg_build_hdr(buf, NFT_MSG_GETFLOWTABLE, family,
NLM_F_ACK, seq);
- nftnl_flowtable_set(t, NFTNL_FLOWTABLE_TABLE, argv[2]);
- nftnl_flowtable_set(t, NFTNL_FLOWTABLE_NAME, argv[3]);
+ nftnl_flowtable_set_str(t, NFTNL_FLOWTABLE_TABLE, argv[2]);
+ nftnl_flowtable_set_str(t, NFTNL_FLOWTABLE_NAME, argv[3]);
nftnl_flowtable_nlmsg_build_payload(nlh, t);
nftnl_flowtable_free(t);
} else if (argc >= 2) {