diff options
Diffstat (limited to 'iptables/nft.h')
-rw-r--r-- | iptables/nft.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/iptables/nft.h b/iptables/nft.h index 515832d7..0cbf493e 100644 --- a/iptables/nft.h +++ b/iptables/nft.h @@ -38,6 +38,11 @@ struct nft_handle { struct builtin_table *tables; struct nftnl_rule_list *rule_cache; bool restore; + + /* meta data, for error reporting */ + struct { + unsigned int lineno; + } error; }; extern struct builtin_table xtables_ipv4[TABLES_MAX]; |