From 4aa09178194d1507c128db88be55994025a520cd Mon Sep 17 00:00:00 2001 From: Maarten Vanraes Date: Sun, 26 Jan 2014 08:58:57 +0100 Subject: write ipv6 zones for shorewall6 --- lib/network/shorewall.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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, -- cgit v1.2.1