From cf8e0db8aacbafac5acb1f42afd62d8215ca5863 Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Sat, 23 Jan 2016 02:25:55 +0530 Subject: src: Add support for masquerade port selection Provide full support for masquerading by allowing port range selection, eg. # nft add rule nat postrouting ip protocol tcp masquerade to :1024-10024 Signed-off-by: Shivani Bhardwaj Signed-off-by: Pablo Neira Ayuso --- include/statement.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/statement.h') diff --git a/include/statement.h b/include/statement.h index 102d95f1..e7872b0b 100644 --- a/include/statement.h +++ b/include/statement.h @@ -86,6 +86,7 @@ extern struct stmt *nat_stmt_alloc(const struct location *loc); struct masq_stmt { uint32_t flags; + struct expr *proto; }; extern struct stmt *masq_stmt_alloc(const struct location *loc); -- cgit v1.2.3