diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-11-25 15:27:56 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2007-11-25 15:27:56 +0000 |
commit | db09b39196b537f3898b9454a5758e6540f9f121 (patch) | |
tree | 3c5544d16f5142c38554dd34a88afdbb02712965 /extensions | |
parent | 725ebb1ca4e93ad11b38ee37338f92600454344a (diff) |
iptables: always print mask in iptables-save
iptables prints the mask as a prefix length if it is valid;
This patch makes iptables-save do the same.
Also, iptables-save will always print "/32" in the "-s addr/32"
case now. This reduces the amount of code external parsing scripts
need to provide to properly parse iptables-save output.
ip6tables-save already does the right thing, so no change there.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Diffstat (limited to 'extensions')
0 files changed, 0 insertions, 0 deletions