summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-03-30 22:50:46 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-03-30 22:50:46 +0000
commit36881418612f138c2c5d0702b289b2b2bc57cdbb (patch)
tree819f780a6a4c26e8f2037cafbbb3e7b5c94e20eb
parentb5d764eba292674a9b2738ea4becaf7307fe73fd (diff)
downloaddrakx-net-36881418612f138c2c5d0702b289b2b2bc57cdbb.tar
drakx-net-36881418612f138c2c5d0702b289b2b2bc57cdbb.tar.gz
drakx-net-36881418612f138c2c5d0702b289b2b2bc57cdbb.tar.bz2
drakx-net-36881418612f138c2c5d0702b289b2b2bc57cdbb.tar.xz
drakx-net-36881418612f138c2c5d0702b289b2b2bc57cdbb.zip
Checking if the network is really up when testing connection
(#48887 #48169 #45965).
-rw-r--r--NEWS3
-rw-r--r--lib/network/netconnect.pm2
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 318f1f9..f0b7e7a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- connection manager:
+ o check if the network is really working during the connection test
+ (#48887 #48169 #45965).
- drakfirewall:
o added support for bacula, dhcp, syslog, mysql and postgresql servers.
o updated associations between ports and packages.
diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm
index bede73e..74ca21d 100644
--- a/lib/network/netconnect.pm
+++ b/lib/network/netconnect.pm
@@ -311,6 +311,8 @@ If you do not know it, keep the preselected protocol.") },
#- FIXME: should use network::test for ppp (after future merge with network::connection)
#- or start interface synchronously
services::start('network-up') unless $::isInstall;
+ my $up = network::tools::connected();
+ $success = $up;
}
"end"; #- handle disconnection in install?
},