diff options
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r-- | perl-install/standalone/net_applet | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index 37300d5a5..14ba43e6f 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -30,6 +30,8 @@ my $current_md5 = md5file($prog_name); my $net = {}; my $watched_interface; +my $dbus = dbus_object::system_bus(); + $SIG{HUP} = sub { print "received SIGHUP, reloading network configuration\n"; checkNetworkForce(); @@ -110,7 +112,7 @@ my $interactive_cb; my @attacks_queue; if ($enable_activefw) { - $activefw = network::activefw->new(sub { + $activefw = network::activefw->new($dbus, sub { my ($_con, $msg) = @_; handle_attack($msg->get_args_list) if $msg->get_member eq "Attack"; }); |