summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-save.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-02-21 13:18:32 +0100
committerPhil Sutter <phil@nwl.cc>2020-02-24 12:04:20 +0100
commit1639b8ba5105542c73e0e1c35e70f245dab89d81 (patch)
tree4a9bc1d0b3eec2fe3714238088b8d4db35c484bf /iptables/xtables-save.c
parentba2af278e8836977a8cfb35c54dac60ca9b40000 (diff)
xtables: Align effect of -4/-6 options with legacy
Legacy iptables doesn't accept -4 or -6 if they don't match the symlink's native family. The only exception to that is iptables-restore which simply ignores the lines introduced by non-matching options, which is useful to create combined dump files for feeding into both iptables-restore and ip6tables-restore. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xtables-save.c')
0 files changed, 0 insertions, 0 deletions