summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-10-10 15:08:25 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-10-10 15:08:54 +0200
commitc1e932eedef7c8b8683c15a419bace8794d1b5e4 (patch)
treea13f6d842e58bb5aca4f2abe4f5ef2b1f008edfe /include
parentd6ed28a3b3d96965dcf67656e8321f8835c0aa05 (diff)
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 <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/netlink.h1
1 files changed, 0 insertions, 1 deletions
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);