summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-20 11:40:33 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-20 11:40:33 +0000
commit8f0a4daea48836bbb9915c1b95916f8d11cd6050 (patch)
tree229cf33d711c183202629a91479f4eeacf7ecf68 /perl-install/standalone/net_applet
parented51e563ea834b9640402ce4a5e77a97d661f090 (diff)
downloaddrakx-backup-do-not-use-8f0a4daea48836bbb9915c1b95916f8d11cd6050.tar
drakx-backup-do-not-use-8f0a4daea48836bbb9915c1b95916f8d11cd6050.tar.gz
drakx-backup-do-not-use-8f0a4daea48836bbb9915c1b95916f8d11cd6050.tar.bz2
drakx-backup-do-not-use-8f0a4daea48836bbb9915c1b95916f8d11cd6050.tar.xz
drakx-backup-do-not-use-8f0a4daea48836bbb9915c1b95916f8d11cd6050.zip
handle activefw init
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r--perl-install/standalone/net_applet7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 7985aac74..2b331bdb9 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -101,7 +101,12 @@ my @attacks_queue;
if ($enable_activefw) {
$activefw = network::activefw->new($dbus, sub {
my ($_con, $msg) = @_;
- handle_attack($msg->get_args_list) if $msg->get_member eq "Attack";
+ my $member = $msg->get_member;
+ if ($member eq 'Attack') {
+ handle_attack($msg->get_args_list);
+ } elsif ($member eq 'Init') {
+ $activefw->attach_object;
+ }
});
}