summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--lib/network/net_applet/ifw.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 1332f77..81cc321 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
- drakfirewall:
o do not display any banner when embedded (#44732)
o honnor canceling interactive firewall
+- net_applet
+ o prevent crashing on IFW initialization (#41440)
0.52:
- wireless backend:
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') {