summaryrefslogtreecommitdiffstats
path: root/include/statement.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2018-01-20 13:38:55 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-01-20 13:41:48 +0100
commitb4c7117ef552d0d71bde1db4a047b4c005699951 (patch)
tree38f7bb844b7a253268f2b1085119d9e2a57d915d /include/statement.h
parent557936d4f9e836c7f952ab11312f1915001ed774 (diff)
Revert ("src: Remove xt_stmt_() functions").
Revert commit bce55916b51ec1a4c23322781e3b0c698ecc9561, we need this code in place to properly make translation when iptables-compat loads rules. Reported-by: Duncan Roe <duncan_roe@optusnet.com.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/statement.h')
-rw-r--r--include/statement.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/statement.h b/include/statement.h
index 23a551b6..379d99e4 100644
--- a/include/statement.h
+++ b/include/statement.h
@@ -203,6 +203,8 @@ struct xt_stmt {
void *entry;
};
+extern struct stmt *xt_stmt_alloc(const struct location *loc);
+
/**
* enum stmt_types - statement types
*