From 738ec4f4f97480526e7b782b46e47cbaef9618d6 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 10 Oct 2018 15:10:16 +0200 Subject: src: remove netlink_flush_chain() Signed-off-by: Pablo Neira Ayuso --- src/netlink.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/netlink.c') diff --git a/src/netlink.c b/src/netlink.c index 60635054..b7638815 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -535,11 +535,6 @@ int netlink_list_chains(struct netlink_ctx *ctx, const struct handle *h) return 0; } -int netlink_flush_chain(struct netlink_ctx *ctx, const struct cmd *cmd) -{ - return mnl_nft_rule_del(ctx, cmd); -} - struct table *netlink_delinearize_table(struct netlink_ctx *ctx, const struct nftnl_table *nlt) { -- cgit v1.2.3