diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-20 19:00:14 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-20 19:00:14 +0000 |
commit | c175b5ea86674f9913e5b106421305b07bbeced2 (patch) | |
tree | 65f577404a519184f3aa2ce769aaae8d7daaff6e /perl-install | |
parent | 24a236385ea3ddea1eac867906ae74bbc05dfb07 (diff) | |
download | drakx-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')
-rw-r--r-- | perl-install/network/shorewall.pm | 4 |
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'))), |