From b4c7117ef552d0d71bde1db4a047b4c005699951 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sat, 20 Jan 2018 13:38:55 +0100 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- include/statement.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/statement.h') 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 * -- cgit v1.2.3