summaryrefslogtreecommitdiff
path: root/plugins/openconnect.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-04-15 19:50:51 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2011-04-17 17:25:41 +0200
commitf812fce3e6ae032e5d2548d810a335b5f0e43b22 (patch)
treea2a6b8f843c1fde32d32c79755a86969ce1f1e16 /plugins/openconnect.c
parentfcc6877521b79609c1d09f3d96ddeab9fc73624c (diff)
downloadconnman-f812fce3e6ae032e5d2548d810a335b5f0e43b22.tar.gz
connman-f812fce3e6ae032e5d2548d810a335b5f0e43b22.tar.bz2
connman-f812fce3e6ae032e5d2548d810a335b5f0e43b22.zip
ipconfig: Fix connman_ipaddress_set_ipv6 prototype
Switch the gateway and prefix_length order to be consistent with the ipv4 version.
Diffstat (limited to 'plugins/openconnect.c')
-rw-r--r--plugins/openconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/openconnect.c b/plugins/openconnect.c
index 94bfcfcc..5c8db26c 100644
--- a/plugins/openconnect.c
+++ b/plugins/openconnect.c
@@ -146,7 +146,7 @@ static int oc_notify(DBusMessage *msg, struct connman_provider *provider)
netmask, gateway);
else
connman_ipaddress_set_ipv6(ipaddress, addressv6,
- gateway, prefix_len);
+ prefix_len, gateway);
connman_provider_set_ipaddress(provider, ipaddress);
connman_provider_set_domain(provider, domain);