summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-17 11:34:11 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-17 11:34:11 +0000
commit1806a3d07d9fa95ef6f213eec06f5339164b6717 (patch)
treea3e0efbbb3a1a66c1c1dfde5c743b237e6a43222 /lib/network/netcenter.pm
parent6561f523561235a9d8900bfbdbbada4465b90460 (diff)
downloaddrakx-net-1806a3d07d9fa95ef6f213eec06f5339164b6717.tar
drakx-net-1806a3d07d9fa95ef6f213eec06f5339164b6717.tar.gz
drakx-net-1806a3d07d9fa95ef6f213eec06f5339164b6717.tar.bz2
drakx-net-1806a3d07d9fa95ef6f213eec06f5339164b6717.tar.xz
drakx-net-1806a3d07d9fa95ef6f213eec06f5339164b6717.zip
print connection events
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-xlib/network/netcenter.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index c2d94ed..72cdcd0 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -166,6 +166,7 @@ sub main {
my ($_con, $msg) = @_;
if ($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
or return;
#- FIXME: factorize in update_on_status_change() and check why update_networks() calls update_on_status_change()