From c1e932eedef7c8b8683c15a419bace8794d1b5e4 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 10 Oct 2018 15:08:25 +0200 Subject: src: remove netlink_flush_table() Just a simple wrapper function, replace it by direct call to mnl_nft_rule_del(). Signed-off-by: Pablo Neira Ayuso --- include/netlink.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/netlink.h b/include/netlink.h index 57e1d98a..e27d75ea 100644 --- a/include/netlink.h +++ b/include/netlink.h @@ -114,7 +114,6 @@ extern struct chain *netlink_delinearize_chain(struct netlink_ctx *ctx, extern int netlink_list_tables(struct netlink_ctx *ctx, const struct handle *h); extern int netlink_list_table(struct netlink_ctx *ctx, const struct handle *h); -extern int netlink_flush_table(struct netlink_ctx *ctx, const struct cmd *cmd); extern struct table *netlink_delinearize_table(struct netlink_ctx *ctx, const struct nftnl_table *nlt); -- cgit v1.2.3