summaryrefslogtreecommitdiffstats
path: root/bin/net_applet
diff options
context:
space:
mode:
Diffstat (limited to 'bin/net_applet')
-rwxr-xr-xbin/net_applet4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/net_applet b/bin/net_applet
index a81b115..fef54eb 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -240,6 +240,10 @@ $SIG{HUP} = sub {
print "received SIGHUP, reloading network configuration\n";
checkNetworkForce();
};
+$SIG{USR1} = sub {
+ # clear all ifw notifications
+ my @packets = eval { $network::net_applet::ifw->get_reports };
+};
Gtk2->main;