projects
/
framework
/
connectivity
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
service: Send D-Bus reply for Manager.ConnectService when service is ready
[framework/connectivity/connman.git]
/
test
/
get-proxy-autoconfig
diff --git
a/test/get-proxy-autoconfig
b/test/get-proxy-autoconfig
index
25e0dd0
..
6709a9e
100755
(executable)
--- a/
test/get-proxy-autoconfig
+++ b/
test/get-proxy-autoconfig
@@
-11,8
+11,8
@@
def get_pac(url):
bus = dbus.SystemBus()
bus = dbus.SystemBus()
-manager = dbus.Interface(bus.get_object('
org.moblin
.connman', '/'),
- '
org.moblin
.connman.Manager')
+manager = dbus.Interface(bus.get_object('
net
.connman', '/'),
+ '
net
.connman.Manager')
services = manager.GetServices()
services = manager.GetServices()
@@
-28,9
+28,10
@@
for entry in services:
method = proxy["Method"]
print "Method = %s" % (method)
method = proxy["Method"]
print "Method = %s" % (method)
- if method in ["auto
-config
"]:
+ if method in ["auto"]:
url = proxy["URL"]
print "URL = %s" % (url)
url = proxy["URL"]
print "URL = %s" % (url)
-
print
get_pac(url)
print
get_pac(url)
+ else:
+ print