]> git.ipfire.org Git - thirdparty/iptables.git/commit
arptables: use ->save for arptables-save, like xtables
authorFlorian Westphal <fw@strlen.de>
Wed, 7 Nov 2018 12:57:16 +0000 (13:57 +0100)
committerFlorian Westphal <fw@strlen.de>
Mon, 12 Nov 2018 13:53:24 +0000 (14:53 +0100)
commitd9a518ee22cf90ddeb56a9df687aef953fda0fa0
tree347e814c29aee4e36fc0943c646ccfd7abee8f87
parent5a52e6a9cffd8e2a5d16af0fa08902ca8332190b
arptables: use ->save for arptables-save, like xtables

arptables-save will show
-A OUTPUT --h-length 6 --h-type 1 -j MARK --set-xmark 0x1/0xffffffff
as
--h-length 6 --h-type Ethernet -j MARK MARK set 0x1

Because it uses ->print() instead of ->save().
Switch it to use ->save, we can then also drop special handling of
CLASSIFY target.

Signed-off-by: Florian Westphal <fw@strlen.de>
extensions/libarpt_mangle.c
extensions/libxt_CLASSIFY.c
iptables/nft-arp.c