summaryrefslogtreecommitdiffstats
path: root/lib/network/shorewall.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-01-27 06:18:41 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-01-27 06:18:41 +0100
commitf96ef1a39ea6510f4ab48fb49a1e0de97ed561ec (patch)
tree916ee917949e2620e896266a309e04a7f7cd4cec /lib/network/shorewall.pm
parent188bc2d33d9172cdd51b6852aebecf13e3a058da (diff)
downloaddrakx-net-f96ef1a39ea6510f4ab48fb49a1e0de97ed561ec.tar
drakx-net-f96ef1a39ea6510f4ab48fb49a1e0de97ed561ec.tar.gz
drakx-net-f96ef1a39ea6510f4ab48fb49a1e0de97ed561ec.tar.bz2
drakx-net-f96ef1a39ea6510f4ab48fb49a1e0de97ed561ec.tar.xz
drakx-net-f96ef1a39ea6510f4ab48fb49a1e0de97ed561ec.zip
perl_checker cleanups
Diffstat (limited to 'lib/network/shorewall.pm')
-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,