summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b40e7ff..1c8b4f5 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', 'ipv'. ($ver ? $ver : '4' ) ]),
- [ 'net', 'ipv'. ($ver ? $ver : '4' ) ],
+ if_($has_loc_zone, [ 'loc', 'ipv' . ($ver || '4') ]),
+ [ 'net', 'ipv' . ($ver || '4') ],
[ 'fw', 'firewall' ],
);
set_config_file('interfaces', $ver,