summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/activefw.pm10
-rw-r--r--perl-install/standalone/net_applet2
2 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/network/activefw.pm b/perl-install/network/activefw.pm
index 4c1292845..78e958043 100644
--- a/perl-install/network/activefw.pm
+++ b/perl-install/network/activefw.pm
@@ -69,11 +69,6 @@ sub call_method {
@ret;
}
-sub get_mode {
- my ($o) = @_;
- $o->call_method('GetMode');
-}
-
sub blacklist {
my ($o, $seq, $blacklist) = @_;
$o->call_method('Blacklist',
@@ -99,6 +94,11 @@ sub unwhitelist {
Net::DBus::Binding::Value->new(&Net::DBus::Binding::Message::TYPE_UINT32, $addr));
}
+sub get_interactive {
+ my ($o) = @_;
+ $o->call_method('GetMode');
+}
+
sub set_interactive {
my ($o, $mode) = @_;
$o->call_method('SetMode',
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 6cbb6ea9e..4a5694637 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -84,7 +84,7 @@ my $activefw = activefw->new(sub {
$msg->get_path eq "/com/mandrakesoft/activefirewall" &&
$msg->get_member eq "Attack";
});
-my $interactive_ids = $activefw->get_mode;
+my $interactive_ids = $activefw->get_interactive;
checkNetwork();
cronNetwork();