summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
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,