]> git.ipfire.org Git - thirdparty/iptables.git/commit
xshared: Share print_match_save() between legacy ip*tables
authorPhil Sutter <phil@nwl.cc>
Thu, 21 Oct 2021 01:00:57 +0000 (03:00 +0200)
committerPhil Sutter <phil@nwl.cc>
Thu, 16 Dec 2021 13:30:29 +0000 (14:30 +0100)
commit4149b5d836340c744c78f303e2a877a89c271000
treeaeffada86fc432b9d03e8b1867a0a949d2060362
parent273d88a7744ea5638969ad3252acf518e5ec6cc2
xshared: Share print_match_save() between legacy ip*tables

The only difference between the former two copies was the type of
ip*_entry parameter. But since it is treated opaque, just hide that
detail by casting to void.

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/ip6tables.c
iptables/iptables.c
iptables/xshared.c
iptables/xshared.h