diff options
-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 { |