summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-20 19:00:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-20 19:00:14 +0000
commitc175b5ea86674f9913e5b106421305b07bbeced2 (patch)
tree65f577404a519184f3aa2ce769aaae8d7daaff6e /perl-install/network
parent24a236385ea3ddea1eac867906ae74bbc05dfb07 (diff)
downloaddrakx-c175b5ea86674f9913e5b106421305b07bbeced2.tar
drakx-c175b5ea86674f9913e5b106421305b07bbeced2.tar.gz
drakx-c175b5ea86674f9913e5b106421305b07bbeced2.tar.bz2
drakx-c175b5ea86674f9913e5b106421305b07bbeced2.tar.xz
drakx-c175b5ea86674f9913e5b106421305b07bbeced2.zip
fix florin: replace $prefix with $::prefix
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/shorewall.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm
index ebed44ffe..083c90ae3 100644
--- a/perl-install/network/shorewall.pm
+++ b/perl-install/network/shorewall.pm
@@ -112,8 +112,8 @@ sub write {
[ 'all', 'all', 'REJECT', 'info' ],
);
set_config_file('rules',
- if_(cat_("$prefix$connect_file") =~ /pptp/, [ 'ACCEPT', 'fw', 'loc:10.0.0.138', 'tcp', '1723' ]),
- if_(cat_("$prefix$connect_file") =~ /pptp/, [ 'ACCEPT', 'fw', 'loc:10.0.0.138', 'gre' ]),
+ if_(cat_("$::prefix$connect_file") =~ /pptp/, [ 'ACCEPT', 'fw', 'loc:10.0.0.138', 'tcp', '1723' ]),
+ if_(cat_("$::prefix$connect_file") =~ /pptp/, [ 'ACCEPT', 'fw', 'loc:10.0.0.138', 'gre' ]),
(map {
map_each { [ 'ACCEPT', $_, 'fw', $::a, join(',', @$::b), '-' ] } %ports_by_proto
} ('net', if_($conf->{masquerade}, 'masq'), if_($conf->{loc_interface}, 'loc'))),