summaryrefslogtreecommitdiffstats
path: root/include/rule.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-05-12 22:59:26 +0200
committerPhil Sutter <phil@nwl.cc>2025-08-28 12:47:15 +0200
commit64c07e38f0494093a399a68a31056f5866c4d705 (patch)
treeef920295e6c5a4fb648b58bd464dae0b3e09d6de /include/rule.h
parent262b23df2c2b0eafb35c9d6d90de3db5726f9fa2 (diff)
table: Embed creating nft version into userdata
Upon listing a table which was created by a newer version of nftables, warn about the potentially incomplete content. Suggested-by: Florian Westphal <fw@strlen.de> Cc: Dan Winship <danwinship@redhat.com> Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/rule.h')
-rw-r--r--include/rule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rule.h b/include/rule.h
index 498a88bf..8d2f29d0 100644
--- a/include/rule.h
+++ b/include/rule.h
@@ -170,6 +170,7 @@ struct table {
uint32_t owner;
const char *comment;
bool has_xt_stmts;
+ bool is_from_future;
};
extern struct table *table_alloc(void);