From f9465cf517ccc88d5ebfa4c7e3cbb2ed1bc899b0 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 27 Apr 2020 12:21:34 +0200 Subject: src: add STMT_NAT_F_CONCAT flag and use it Replace ipportmap boolean field by flags. Signed-off-by: Pablo Neira Ayuso --- include/statement.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/statement.h') 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; }; -- cgit v1.2.3