summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-12-15 11:13:57 +0000
committerOlivier Blin <oblin@mandriva.com>2008-12-15 11:13:57 +0000
commit78b07f05660628e6d00efe69022c2c1248b79df4 (patch)
tree8d9ae28a72f1ac38aff157ed964ac0d66b13e22c /lib/network/netcenter.pm
parent4168aafe5f3e322a2a131631519f2fde74229b81 (diff)
downloaddrakx-net-78b07f05660628e6d00efe69022c2c1248b79df4.tar
drakx-net-78b07f05660628e6d00efe69022c2c1248b79df4.tar.gz
drakx-net-78b07f05660628e6d00efe69022c2c1248b79df4.tar.bz2
drakx-net-78b07f05660628e6d00efe69022c2c1248b79df4.tar.xz
drakx-net-78b07f05660628e6d00efe69022c2c1248b79df4.zip
handle interface name from event too
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-xlib/network/netcenter.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 77c181b..5e170d9 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -196,8 +196,8 @@ sub main {
}
}
if ($msg->get_interface eq 'com.mandriva.monitoring.wireless' && $msg->get_member eq 'Event') {
- my ($event) = $msg->get_args_list;
- print "got wireless event: $event\n";
+ my ($event, $interface) = $msg->get_args_list;
+ print "got wireless event: $event $interface\n";
}
});
$dbus->{connection}->add_match("type='signal',interface='com.mandriva.network'");