summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2010-08-05 23:55:22 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-08-06 00:09:42 +0200
commit4867a22ce4eaa9ab4144df927a1d3f1469695e42 (patch)
tree81d53113fd8171cf2d60b491111b84e58276c9dc /test
parentb0f5ddb0a06498d35ad3c12f42cc07e0a36e96cb (diff)
downloadconnman-4867a22ce4eaa9ab4144df927a1d3f1469695e42.tar.gz
connman-4867a22ce4eaa9ab4144df927a1d3f1469695e42.tar.bz2
connman-4867a22ce4eaa9ab4144df927a1d3f1469695e42.zip
Build VPN services based on VPN host and domain strings
Diffstat (limited to 'test')
-rwxr-xr-xtest/connect-vpn6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/connect-vpn b/test/connect-vpn
index c9cbd89d..22f13709 100755
--- a/test/connect-vpn
+++ b/test/connect-vpn
@@ -16,14 +16,14 @@ print "Attempting to connect service %s" % (sys.argv[1])
if (len(sys.argv) > 4):
path = manager.ConnectProvider(({ "Type": "openconnect", "Name": sys.argv[1],
- "OpenConnect.Host": sys.argv[2],
+ "Host": sys.argv[2],
"OpenConnect.Cookie": sys.argv[3],
"OpenConnect.CACert": sys.argv[4],
"VPN.Domain": "intel.com"}))
else:
path = manager.ConnectProvider(({ "Type": "openconnect", "Name": sys.argv[1],
- "OpenConnect.Host": sys.argv[2],
+ "Host": sys.argv[2],
"OpenConnect.Cookie": sys.argv[3],
"VPN.Domain": "intel.com"}))
-print "Provider path is %s" %(path)
+print "VPN service path is %s" %(path)