summaryrefslogtreecommitdiffstats
path: root/lib/network/net_applet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-11 09:12:13 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-11 09:12:13 +0000
commit53879222f60a9a177b0436cf89a827cd571d500c (patch)
tree23a9a6e810a67e7701704f1cecb137b64d23a027 /lib/network/net_applet
parentc8ab2647eb2aef0bbe9bb820ed516b7358a39a36 (diff)
downloaddrakx-net-53879222f60a9a177b0436cf89a827cd571d500c.tar
drakx-net-53879222f60a9a177b0436cf89a827cd571d500c.tar.gz
drakx-net-53879222f60a9a177b0436cf89a827cd571d500c.tar.bz2
drakx-net-53879222f60a9a177b0436cf89a827cd571d500c.tar.xz
drakx-net-53879222f60a9a177b0436cf89a827cd571d500c.zip
(create) prevent crashing on IFW initialization (looks looks timing
issue; lots of report: #41440)
Diffstat (limited to 'lib/network/net_applet')
-rw-r--r--lib/network/net_applet/ifw.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/net_applet/ifw.pm b/lib/network/net_applet/ifw.pm
index f7fd326..1e32365 100644
--- a/lib/network/net_applet/ifw.pm
+++ b/lib/network/net_applet/ifw.pm
@@ -13,7 +13,7 @@ sub create() {
handle_ifw_message($msg->get_args_list);
} elsif ($member eq 'Listen') {
handle_ifw_listen($msg->get_args_list);
- } elsif ($member eq 'Init') {
+ } elsif ($member eq 'Init' && $network::net_applet::ifw) {
$network::net_applet::ifw->attach_object;
main::checkNetworkForce();
} elsif ($member eq 'AlertAck') {