diff options
author | Eugeni Dodonov <eugeni@mandriva.org> | 2009-03-30 22:50:46 +0000 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.org> | 2009-03-30 22:50:46 +0000 |
commit | 36881418612f138c2c5d0702b289b2b2bc57cdbb (patch) | |
tree | 819f780a6a4c26e8f2037cafbbb3e7b5c94e20eb /lib | |
parent | b5d764eba292674a9b2738ea4becaf7307fe73fd (diff) | |
download | drakx-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).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/netconnect.pm | 2 |
1 files changed, 2 insertions, 0 deletions
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? }, |