diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/list-services | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/list-services b/test/list-services index be447b8d..def1c07a 100755 --- a/test/list-services +++ b/test/list-services @@ -31,7 +31,8 @@ manager = dbus.Interface(bus.get_object("net.connman", "/"), for path, properties in manager.GetServices(): service = dbus.Interface(bus.get_object("net.connman", path), "net.connman.Service") - print "[ %s ]" % (path) + identifier = path[path.rfind("/") + 1:] + print "[ %s ]" % (identifier) for key in properties.keys(): if key in ["IPv4", "IPv4.Configuration", |