From d58ea1f1a898a914879ae177917fd44e1b78e063 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 20 Mar 2018 16:32:15 +0100 Subject: examples: nft-flowtable-add: do not use nftnl_flowtable_set_array() Fixes: 62d6fff78b2c ("src: remove set/get array api") Signed-off-by: Pablo Neira Ayuso --- examples/nft-flowtable-add.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/nft-flowtable-add.c') diff --git a/examples/nft-flowtable-add.c b/examples/nft-flowtable-add.c index bd6cd0f..8363027 100644 --- a/examples/nft-flowtable-add.c +++ b/examples/nft-flowtable-add.c @@ -33,7 +33,7 @@ static struct nftnl_flowtable *flowtable_add_parse(int argc, char *argv[]) nftnl_flowtable_set_u32(t, NFTNL_FLOWTABLE_HOOKNUM, hooknum); nftnl_flowtable_set_u32(t, NFTNL_FLOWTABLE_PRIO, atoi(argv[5])); } - nftnl_flowtable_set_array(t, NFTNL_FLOWTABLE_DEVICES, dev_array); + nftnl_flowtable_set(t, NFTNL_FLOWTABLE_DEVICES, dev_array); return t; } -- cgit v1.2.3