summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-01 15:25:45 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-01 15:25:45 +0000
commit226744d04bb49dd10abdd670cea3c327ed69952a (patch)
tree288a771b0e04d3e536984faafeb568601a3ccea3
parentbd4b9d86d129831fbeefce182aecb009e56c54d7 (diff)
downloaddrakx-net-226744d04bb49dd10abdd670cea3c327ed69952a.tar
drakx-net-226744d04bb49dd10abdd670cea3c327ed69952a.tar.gz
drakx-net-226744d04bb49dd10abdd670cea3c327ed69952a.tar.bz2
drakx-net-226744d04bb49dd10abdd670cea3c327ed69952a.tar.xz
drakx-net-226744d04bb49dd10abdd670cea3c327ed69952a.zip
net_applet: fix crash on mandi restart (#42557)
-rw-r--r--lib/network/net_applet/ifw.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/net_applet/ifw.pm b/lib/network/net_applet/ifw.pm
index ea2e8d8..f7fd326 100644
--- a/lib/network/net_applet/ifw.pm
+++ b/lib/network/net_applet/ifw.pm
@@ -14,8 +14,8 @@ sub create() {
} elsif ($member eq 'Listen') {
handle_ifw_listen($msg->get_args_list);
} elsif ($member eq 'Init') {
- $ifw->attach_object;
- checkNetworkForce();
+ $network::net_applet::ifw->attach_object;
+ main::checkNetworkForce();
} elsif ($member eq 'AlertAck') {
$network::net_applet::ifw_alert = 0;
}