summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rwxr-xr-xnetwork/test-network8
1 files changed, 7 insertions, 1 deletions
diff --git a/network/test-network b/network/test-network
index 3719deaa..f428c25f 100755
--- a/network/test-network
+++ b/network/test-network
@@ -25,7 +25,13 @@ except:
pass
try:
- panu = dbus.Interface(bus.get_object(conn, network.LastConnection()),
+ panu = dbus.Interface(bus.get_object(conn, network.FindServer('panu')),
+ 'org.bluez.network.Server')
+except:
+ pass
+
+try:
+ client = dbus.Interface(bus.get_object(conn, network.LastConnection()),
'org.bluez.network.Connection')
except:
pass