diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-07-26 11:10:26 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-07-26 11:10:26 +0000 |
commit | f93a644e3d4d9cd81f6e377dc57fa46c906929ae (patch) | |
tree | 68f62f57ac65e929defd5e49748e763cad98f684 /perl-install | |
parent | 289cdfbdf988fb3b2f0f659c4dc95a67ef0335ba (diff) | |
download | drakx-backup-do-not-use-f93a644e3d4d9cd81f6e377dc57fa46c906929ae.tar drakx-backup-do-not-use-f93a644e3d4d9cd81f6e377dc57fa46c906929ae.tar.gz drakx-backup-do-not-use-f93a644e3d4d9cd81f6e377dc57fa46c906929ae.tar.bz2 drakx-backup-do-not-use-f93a644e3d4d9cd81f6e377dc57fa46c906929ae.tar.xz drakx-backup-do-not-use-f93a644e3d4d9cd81f6e377dc57fa46c906929ae.zip |
don't write alias interfaces in shorewall interfaces file
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/shorewall.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm index 2775f2e08..7e5d97363 100644 --- a/perl-install/network/shorewall.pm +++ b/perl-install/network/shorewall.pm @@ -79,7 +79,8 @@ sub read_default_interfaces { sub set_net_interface { my ($conf, $interface) = @_; $conf->{net_interface} = $interface; - $conf->{loc_interface} = [ grep { $_ ne $interface } detect_devices::getNet() ]; + #- keep all other interfaces (but alias interfaces) in local zone + $conf->{loc_interface} = [ grep { !/:/ && $_ ne $interface } detect_devices::getNet() ]; } sub read { |