diff options
author | Florin Grad <florin@mandriva.com> | 2004-03-04 10:50:56 +0000 |
---|---|---|
committer | Florin Grad <florin@mandriva.com> | 2004-03-04 10:50:56 +0000 |
commit | 5b2629ae80194fea530e756bd61792144d8bd488 (patch) | |
tree | 9c9d0959f0305723811de20129a8b5153891f450 | |
parent | f0179c1e4973d7f185f05de667b06d662461f605 (diff) | |
download | drakx-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
-rw-r--r-- | perl-install/network/shorewall.pm | 7 |
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; } |