diff options
Diffstat (limited to 'perl-install')
-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); |