diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-12-15 10:30:55 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-12-15 10:30:55 +0000 |
commit | c048448ded1f9fa6705e1758a1a54bd4230b792b (patch) | |
tree | b69b71d021c5e47c40ae1861bba83781aa950b54 /lib/network/netcenter.pm | |
parent | acf51309a42fbfb99861904376ad56115782ae8e (diff) | |
download | drakx-net-c048448ded1f9fa6705e1758a1a54bd4230b792b.tar drakx-net-c048448ded1f9fa6705e1758a1a54bd4230b792b.tar.gz drakx-net-c048448ded1f9fa6705e1758a1a54bd4230b792b.tar.bz2 drakx-net-c048448ded1f9fa6705e1758a1a54bd4230b792b.tar.xz drakx-net-c048448ded1f9fa6705e1758a1a54bd4230b792b.zip |
be stricter regarding interface when handling dbus events
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-x | lib/network/netcenter.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm index 236662b..74e77c5 100755 --- a/lib/network/netcenter.pm +++ b/lib/network/netcenter.pm @@ -164,7 +164,7 @@ sub main { if ($dbus) { $dbus->{connection}->add_filter(sub { my ($_con, $msg) = @_; - if ($msg->get_member eq 'status') { + 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; |