From 4e9c475680aff492c34845a958638c1a43906e07 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 24 Oct 2018 18:47:15 +0200 Subject: netlink: remove netlink_batch_send() Replace it by direct call to mnl_batch_talk(). Signed-off-by: Pablo Neira Ayuso --- src/libnftables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libnftables.c') 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) { -- cgit v1.2.3