diff options
author | Phil Sutter <phil@nwl.cc> | 2019-10-18 19:02:29 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2019-11-06 13:41:48 +0100 |
commit | 73a9a032404e2020e2b954781ce5fc8a57d5bb9f (patch) | |
tree | 07c4c4893cb8de7d47eeb931e6bb641019a685bf /extensions/libarpt_mangle.c | |
parent | 3c0e4590ffbca3b0153eaff3338b331de2fe737c (diff) |
xtables-restore: Introduce struct nft_xt_restore_state
This data structure holds parser state information. A follow-up patch
will extract line parsing code into a separate function which will need
a place to persistently store this info in between calls.
While being at it, make 'in_table' variable boolean and drop some extra
braces in conditionals checking its value.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libarpt_mangle.c')
0 files changed, 0 insertions, 0 deletions