diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-07-20 11:40:33 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-07-20 11:40:33 +0000 |
commit | 8f0a4daea48836bbb9915c1b95916f8d11cd6050 (patch) | |
tree | 229cf33d711c183202629a91479f4eeacf7ecf68 /perl-install/standalone | |
parent | ed51e563ea834b9640402ce4a5e77a97d661f090 (diff) | |
download | drakx-8f0a4daea48836bbb9915c1b95916f8d11cd6050.tar drakx-8f0a4daea48836bbb9915c1b95916f8d11cd6050.tar.gz drakx-8f0a4daea48836bbb9915c1b95916f8d11cd6050.tar.bz2 drakx-8f0a4daea48836bbb9915c1b95916f8d11cd6050.tar.xz drakx-8f0a4daea48836bbb9915c1b95916f8d11cd6050.zip |
handle activefw init
Diffstat (limited to 'perl-install/standalone')
-rw-r--r-- | perl-install/standalone/net_applet | 7 |
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; + } }); } |