summaryrefslogtreecommitdiffstats
path: root/lib/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-25 16:28:24 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-25 16:28:24 +0000
commit34db3e0ede5ca29189fc3a1bde94af3af9c9e7d1 (patch)
tree3ee68dd66899e7ad58a7f6861748ddf29976ee7f /lib/network
parent7330283c9eefbec704044803160c75e14efc2db2 (diff)
downloaddrakx-net-34db3e0ede5ca29189fc3a1bde94af3af9c9e7d1.tar
drakx-net-34db3e0ede5ca29189fc3a1bde94af3af9c9e7d1.tar.gz
drakx-net-34db3e0ede5ca29189fc3a1bde94af3af9c9e7d1.tar.bz2
drakx-net-34db3e0ede5ca29189fc3a1bde94af3af9c9e7d1.tar.xz
drakx-net-34db3e0ede5ca29189fc3a1bde94af3af9c9e7d1.zip
move status event print in generic handler
Diffstat (limited to 'lib/network')
-rw-r--r--lib/network/connection_manager.pm1
-rwxr-xr-xlib/network/netcenter.pm1
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm
index a329437..fe1420f 100644
--- a/lib/network/connection_manager.pm
+++ b/lib/network/connection_manager.pm
@@ -451,6 +451,7 @@ sub setup_dbus_handlers {
$on_network_event->($message) if $on_network_event && $message;
if ($member eq 'status') {
my ($status, $interface) = $msg->get_args_list;
+ print "got connection status event: $_status $interface\n";
my $cmanager = find { $_->{connection}->get_interface eq $interface } @$cmanagers
or return;
$cmanager->update_networks;
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index a68107c..4bef97d 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -176,7 +176,6 @@ sub main {
my ($_con, $msg) = @_;
if ($msg->get_interface eq 'com.mandriva.network' && $msg->get_member eq 'status') {
my ($status, $interface) = $msg->get_args_list;
- print "got connection status event: $status $interface\n";
my $cmanager = find { $_->{connection}->get_interface eq $interface } @cmanagers;
if ($status eq "add") {
if (!$cmanager) {