summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/ipconfig.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ipconfig.h b/include/ipconfig.h
index 22e8c547..a0673afc 100644
--- a/include/ipconfig.h
+++ b/include/ipconfig.h
@@ -47,8 +47,9 @@ int connman_ipaddress_set_ipv4(struct connman_ipaddress *ipaddress,
const char *address, const char *netmask,
const char *gateway);
int connman_ipaddress_set_ipv6(struct connman_ipaddress *ipaddress,
- const char *address, const char *gateway,
- unsigned char prefix_length);
+ const char *address,
+ unsigned char prefix_length,
+ const char *gateway);
void connman_ipaddress_set_peer(struct connman_ipaddress *ipaddress,
const char *peer);
void connman_ipaddress_clear(struct connman_ipaddress *ipaddress);