diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-03-13 10:57:55 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-03-13 10:57:55 +0000 |
commit | 0d1e6c6b7034d39b31fe24bdbb62d52a3733f366 (patch) | |
tree | 12f4976e704eb57885a67dad1dc6dbadd9a096ff /lib | |
parent | 81aa4137b15bdc2e868700b77c542d38c2fe5498 (diff) | |
download | drakx-net-0d1e6c6b7034d39b31fe24bdbb62d52a3733f366.tar drakx-net-0d1e6c6b7034d39b31fe24bdbb62d52a3733f366.tar.gz drakx-net-0d1e6c6b7034d39b31fe24bdbb62d52a3733f366.tar.bz2 drakx-net-0d1e6c6b7034d39b31fe24bdbb62d52a3733f366.tar.xz drakx-net-0d1e6c6b7034d39b31fe24bdbb62d52a3733f366.zip |
Adding missing require to fix mdkapplet crashes (#48729 and a bunch of
others).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/tools.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/tools.pm b/lib/network/tools.pm index ca4c50f..0a1d840 100644 --- a/lib/network/tools.pm +++ b/lib/network/tools.pm @@ -197,6 +197,7 @@ sub get_default_connection { my ($net, $o_gw_intf) = @_; my $gw_intf = $o_gw_intf || get_default_gateway_interface($net) or return; $net->{resolv} = {}; + require network::network; add2hash($net->{resolv}, network::network::read_resolv_conf()); return $gw_intf, get_interface_status($gw_intf), $net->{resolv}{dnsServer}; } |