summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorFlorin Grad <florin@mandriva.com>2004-03-04 10:50:56 +0000
committerFlorin Grad <florin@mandriva.com>2004-03-04 10:50:56 +0000
commit5b2629ae80194fea530e756bd61792144d8bd488 (patch)
tree9c9d0959f0305723811de20129a8b5153891f450 /perl-install/network
parentf0179c1e4973d7f185f05de667b06d662461f605 (diff)
downloaddrakx-5b2629ae80194fea530e756bd61792144d8bd488.tar
drakx-5b2629ae80194fea530e756bd61792144d8bd488.tar.gz
drakx-5b2629ae80194fea530e756bd61792144d8bd488.tar.bz2
drakx-5b2629ae80194fea530e756bd61792144d8bd488.tar.xz
drakx-5b2629ae80194fea530e756bd61792144d8bd488.zip
remove an obsolete comparison in the read function
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/shorewall.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm
index ae62dcaad..59e6a761a 100644
--- a/perl-install/network/shorewall.pm
+++ b/perl-install/network/shorewall.pm
@@ -98,13 +98,6 @@ sub read {
} else {
put_in_hash(\%conf, default_interfaces($in));
};
- foreach (get_config_file('interfaces')) {
- my ($name, $interface) = @$_;
- if ($name eq 'masq') {
- $conf{masquerade}{interface} = $interface;
- $conf{loc_interface} = [ difference2($conf{loc_interface}, [$interface]) ];
- }
- }
$conf{net_interface} && \%conf;
}