]> git.ipfire.org Git - thirdparty/iptables.git/commit
xshared: Share print_rule_details() with legacy
authorPhil Sutter <phil@nwl.cc>
Fri, 5 Nov 2021 21:02:45 +0000 (22:02 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 23 Nov 2021 14:01:23 +0000 (15:01 +0100)
commit1d73cec02c8d9a0f5bfbd2983c36cc1228b78f45
tree77b13589ecdbbb63ab19adcbcac38e86a04c7f98
parente5fb9f8efaa0643a566d079c8201082822a0dc81
xshared: Share print_rule_details() with legacy

Have to pass pointer to counters directly since different fields are
being used for some reason.

Since proto_to_name() is not used outside of xshared.c anymore, make it
static.

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