diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-02-25 16:28:24 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-02-25 16:28:24 +0000 |
commit | 34db3e0ede5ca29189fc3a1bde94af3af9c9e7d1 (patch) | |
tree | 3ee68dd66899e7ad58a7f6861748ddf29976ee7f /lib/network | |
parent | 7330283c9eefbec704044803160c75e14efc2db2 (diff) | |
download | drakx-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.pm | 1 | ||||
-rwxr-xr-x | lib/network/netcenter.pm | 1 |
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) { |