]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-restore: Integrate restore callbacks into struct nft_xt_restore_parse
authorPhil Sutter <phil@nwl.cc>
Thu, 17 Oct 2019 20:26:50 +0000 (22:26 +0200)
committerPhil Sutter <phil@nwl.cc>
Wed, 6 Nov 2019 12:41:32 +0000 (13:41 +0100)
commit3c0e4590ffbca3b0153eaff3338b331de2fe737c
tree4ef5ba28f7fd33e2b66f5d36c00f5b6eb2f12eaa
parent49d95c9002218645da157abdb91fd20c176b1c56
xtables-restore: Integrate restore callbacks into struct nft_xt_restore_parse

There's really no point in passing those as separate parameter. While
being at it, make them static const everywhere.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/nft-shared.h
iptables/xtables-restore.c
iptables/xtables-translate.c