summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-03-20 16:32:15 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-03-20 16:32:50 +0100
commitd58ea1f1a898a914879ae177917fd44e1b78e063 (patch)
treeabf7501f474f8240d22e7c860b5d7eec18dfbe61
parent726031795f23a69f104cba0e8a9dfacf2d4f698a (diff)
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 <pablo@netfilter.org>
-rw-r--r--examples/nft-flowtable-add.c2
1 files changed, 1 insertions, 1 deletions
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;
}