summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorMaarten Vanraes <alien@mageia.org>2014-01-26 08:58:57 +0100
committerMaarten Vanraes <alien@mageia.org>2014-01-26 08:58:57 +0100
commit4aa09178194d1507c128db88be55994025a520cd (patch)
tree7dba3201b137d39f032d90e6418d8523e12b8acd /lib/network
parent180b13d383cf7be3d0ed213f8164c14d99373913 (diff)
downloaddrakx-net-4aa09178194d1507c128db88be55994025a520cd.tar
drakx-net-4aa09178194d1507c128db88be55994025a520cd.tar.gz
drakx-net-4aa09178194d1507c128db88be55994025a520cd.tar.bz2
drakx-net-4aa09178194d1507c128db88be55994025a520cd.tar.xz
drakx-net-4aa09178194d1507c128db88be55994025a520cd.zip
write ipv6 zones for shorewall6
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/shorewall.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/shorewall.pm b/lib/network/shorewall.pm
index b4bad7f..b40e7ff 100644
--- a/lib/network/shorewall.pm
+++ b/lib/network/shorewall.pm
@@ -182,8 +182,8 @@ What do you want to do?"),
};
set_config_file('zones', $ver,
- if_($has_loc_zone, [ 'loc', 'ipv4' ]),
- [ 'net', 'ipv4' ],
+ if_($has_loc_zone, [ 'loc', 'ipv'. ($ver ? $ver : '4' ) ]),
+ [ 'net', 'ipv'. ($ver ? $ver : '4' ) ],
[ 'fw', 'firewall' ],
);
set_config_file('interfaces', $ver,