summaryrefslogtreecommitdiffstats
path: root/src/libnftables.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-10-24 18:47:15 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-10-24 20:08:24 +0200
commit4e9c475680aff492c34845a958638c1a43906e07 (patch)
treea5a28e834a6be24b705cb318536671a6a0be022a /src/libnftables.c
parent15ab98728c3cb1a35273abbf63936c0dce7fd557 (diff)
netlink: remove netlink_batch_send()
Replace it by direct call to mnl_batch_talk(). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/libnftables.c')
-rw-r--r--src/libnftables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libnftables.c b/src/libnftables.c
index 0731c532..e892083f 100644
--- a/src/libnftables.c
+++ b/src/libnftables.c
@@ -56,7 +56,7 @@ static int nft_netlink(struct nft_ctx *nft,
if (!mnl_batch_ready(batch))
goto out;
- ret = netlink_batch_send(&ctx, &err_list);
+ ret = mnl_batch_talk(&ctx, &err_list);
list_for_each_entry_safe(err, tmp, &err_list, head) {
list_for_each_entry(cmd, cmds, list) {