]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-restore: Constify struct nft_xt_restore_cb
authorPhil Sutter <phil@nwl.cc>
Thu, 17 Oct 2019 20:49:26 +0000 (22:49 +0200)
committerPhil Sutter <phil@nwl.cc>
Fri, 18 Oct 2019 09:57:31 +0000 (11:57 +0200)
commiteedb0bb2ad01cf1d3af6fe3d644660ab81c1fc29
treeafb7d402bbc257d6964dad8e05b21495ede78d1a
parent4abb44c978d75656f69dd59f24522eb970881ccf
xtables-restore: Constify struct nft_xt_restore_cb

There is no need for dynamic callback mangling, so make all instances
static const.

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