summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netlink.c b/src/netlink.c
index 15cba793..533634af 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -645,7 +645,7 @@ int netlink_list_chain(struct netlink_ctx *ctx, const struct handle *h,
int netlink_flush_chain(struct netlink_ctx *ctx, const struct handle *h,
const struct location *loc)
{
- return netlink_flush_rules(ctx, h, loc);
+ return netlink_del_rule_batch(ctx, h, loc);
}
int netlink_add_table(struct netlink_ctx *ctx, const struct handle *h,