summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-07 16:29:25 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-07 16:29:25 +0000
commit065a539b0ae100eecc0c793fc79b73d6d0cda998 (patch)
treedb0b418e932bc66f844963299beab0f998ace1f2
parent07a3df2b9aa0666ce3b9df700ad56e4de44516a1 (diff)
downloaddrakx-065a539b0ae100eecc0c793fc79b73d6d0cda998.tar
drakx-065a539b0ae100eecc0c793fc79b73d6d0cda998.tar.gz
drakx-065a539b0ae100eecc0c793fc79b73d6d0cda998.tar.bz2
drakx-065a539b0ae100eecc0c793fc79b73d6d0cda998.tar.xz
drakx-065a539b0ae100eecc0c793fc79b73d6d0cda998.zip
fix refresh (forget erased settings)
-rw-r--r--perl-install/standalone/net_applet3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 4e844e198..6285252f3 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -168,6 +168,9 @@ sub checkNetwork() {
if ($new_md5 ne $current_md5) { exec($prog_name) }
}
sub checkNetworkForce() {
+ $netcnx = {};
+ $netc = {};
+ $intf = {};
network::netconnect::read_net_conf($netcnx, $netc, $intf);
undef $current_state;
checkNetwork();