diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-09-22 02:27:15 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-09-22 02:27:15 +0000 |
commit | 81a21b68ff838a49b6aa6f52a7dd541b414dea4a (patch) | |
tree | 22cff4b0c98063b90b6fcb2ca2bb6037efbc9078 /perl-install/standalone/net_monitor | |
parent | da8d171e12c61497099da2f684d1ac90755e4d31 (diff) | |
download | drakx-81a21b68ff838a49b6aa6f52a7dd541b414dea4a.tar drakx-81a21b68ff838a49b6aa6f52a7dd541b414dea4a.tar.gz drakx-81a21b68ff838a49b6aa6f52a7dd541b414dea4a.tar.bz2 drakx-81a21b68ff838a49b6aa6f52a7dd541b414dea4a.tar.xz drakx-81a21b68ff838a49b6aa6f52a7dd541b414dea4a.zip |
simplify
Diffstat (limited to 'perl-install/standalone/net_monitor')
-rwxr-xr-x | perl-install/standalone/net_monitor | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor index f5f2031df..a3faf1da6 100755 --- a/perl-install/standalone/net_monitor +++ b/perl-install/standalone/net_monitor @@ -47,7 +47,7 @@ my $netcnx = {}; my $netc = {}; my $intf = {}; network::netconnect::read_net_conf($netcnx, $netc, $intf); -$default_intf or ($default_intf, undef, undef, undef) = network::tools::get_internet_connection($netc, $intf); +$default_intf ||= network::tools::get_default_gateway_interface($netc, $intf); if ($force) { $connect and network::tools::start_interface($default_intf); |