diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-26 09:32:50 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-26 09:32:50 +0000 |
commit | dc8c9e96aab7264968037edf5ef660888b25a9fa (patch) | |
tree | 876f7bd6a6895adfab1b349b59d80c38f3cc5f60 /perl-install/network | |
parent | 2e8a10afb8eeeb623c73e3e433c0ae17ffdfd039 (diff) | |
download | drakx-backup-do-not-use-dc8c9e96aab7264968037edf5ef660888b25a9fa.tar drakx-backup-do-not-use-dc8c9e96aab7264968037edf5ef660888b25a9fa.tar.gz drakx-backup-do-not-use-dc8c9e96aab7264968037edf5ef660888b25a9fa.tar.bz2 drakx-backup-do-not-use-dc8c9e96aab7264968037edf5ef660888b25a9fa.tar.xz drakx-backup-do-not-use-dc8c9e96aab7264968037edf5ef660888b25a9fa.zip |
ensure net_interface is found in any case
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/shorewall.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/shorewall.pm b/perl-install/network/shorewall.pm index 8a8c41b1c..92ac212e4 100644 --- a/perl-install/network/shorewall.pm +++ b/perl-install/network/shorewall.pm @@ -51,7 +51,7 @@ sub default_interfaces { if (@l == 1) { $conf{net_interface} = $l[0]; } else { - $conf{net_interface} = network::netconnect::get_net_device() or return; + $conf{net_interface} = network::netconnect::get_net_device() || $l[0]; $conf{loc_interface} = [ grep { $_ ne $conf{net_interface} } @l ]; } \%conf; |