summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-05-08 15:00:58 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-05-08 15:00:58 +0000
commita643c69886a9cff7c50bb93852d523e3d996d2ed (patch)
tree1e1d381c50ee15e0972c9fdedb170fe48073c256
parentde900f387d63bc74bebedbe52f158e7ec64129d5 (diff)
Fix network service test script
-rwxr-xr-xnetwork/test-network6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/test-network b/network/test-network
index 8860003b..fe83cd21 100755
--- a/network/test-network
+++ b/network/test-network
@@ -13,15 +13,13 @@ network = dbus.Interface(bus.get_object(conn, '/org/bluez/network'),
'org.bluez.network.Manager')
try:
- nap = dbus.Interface(bus.get_object('org.bluez.network',
- network.FindAdapter('nap')),
+ nap = dbus.Interface(bus.get_object(conn, network.FindServer('nap')),
'org.bluez.network.Server')
except:
pass
try:
- gn = dbus.Interface(bus.get_object('org.bluez.network',
- network.FindAdapter('gn')),
+ gn = dbus.Interface(bus.get_object(conn, network.FindServer('gn')),
'org.bluez.network.Server')
except:
pass