diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-09 01:04:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-08-09 01:04:28 +0000 |
commit | 9e5efdfd5b56192ea85894879f3d24b3cc4b3358 (patch) | |
tree | 7b6266013d8107f196f4ed5b5aa1da48598bf80d | |
parent | 3c2d0b1ddf0e82911aceb0a1bd3c3e31c2ad8eb0 (diff) | |
download | drakx-9e5efdfd5b56192ea85894879f3d24b3cc4b3358.tar drakx-9e5efdfd5b56192ea85894879f3d24b3cc4b3358.tar.gz drakx-9e5efdfd5b56192ea85894879f3d24b3cc4b3358.tar.bz2 drakx-9e5efdfd5b56192ea85894879f3d24b3cc4b3358.tar.xz drakx-9e5efdfd5b56192ea85894879f3d24b3cc4b3358.zip |
(checkNetwork) do not die when gateway canot be guessed (Joe Bolin
<sopwithcamel@charter.net>)
else the applet dies never to be heard from again until the next login
b/c with DHCP connections, the gateway information is lost when the
network is manually brought down.
Indeed gateway is not needed for direct connection through crossover
cable.
-rw-r--r-- | perl-install/standalone/net_applet | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index 173aa8e1c..3ed171489 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -103,8 +103,6 @@ sub checkNetwork() { ($addrgd, $gd) = `/sbin/ip route show` =~ /^default\s+via\s+(\S+).*\s+dev\s+(\S+)/m; } - $gd or die "No Gatewaydev defined"; - if ($addrgd) { go2State('connected', $gd) } else { go2State('disconnected', '') } |