commit | 73a9a032404e2020e2b954781ce5fc8a57d5bb9f | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Fri Oct 18 19:02:29 2019 +0200 |
committer | Phil Sutter <phil@nwl.cc> | Wed Nov 06 13:41:48 2019 +0100 |
tree | 07c4c4893cb8de7d47eeb931e6bb641019a685bf | |
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>