summaryrefslogtreecommitdiffstats
path: root/include/statement.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-04-27 12:21:34 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-04-28 17:32:35 +0200
commitf9465cf517ccc88d5ebfa4c7e3cbb2ed1bc899b0 (patch)
tree382816613ef4cb2ee7efa27f72708645cb0dff75 /include/statement.h
parent35a6b10c1bc488ca195e9c641563c29251f725f3 (diff)
src: add STMT_NAT_F_CONCAT flag and use it
Replace ipportmap boolean field by flags. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/statement.h')
-rw-r--r--include/statement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/statement.h b/include/statement.h
index 01fe416c..7d96b394 100644
--- a/include/statement.h
+++ b/include/statement.h
@@ -122,6 +122,7 @@ extern const char *nat_etype2str(enum nft_nat_etypes type);
enum {
STMT_NAT_F_INTERVAL = (1 << 0),
STMT_NAT_F_PREFIX = (1 << 1),
+ STMT_NAT_F_CONCAT = (1 << 2),
};
struct nat_stmt {
@@ -130,7 +131,6 @@ struct nat_stmt {
struct expr *proto;
uint32_t flags;
uint8_t family;
- bool ipportmap;
uint32_t type_flags;
};