diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-02-23 20:38:33 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-02-23 20:38:33 +0100 |
commit | 878520659c5cdb35b94e99f84dbf366281ac868b (patch) | |
tree | 58dc2eb14fa888ab12c6f563256fb71d8a59fb70 /src/network.c | |
parent | cb27c17378552b6f4ab86c5d28af716a159c28b7 (diff) | |
download | connman-878520659c5cdb35b94e99f84dbf366281ac868b.tar.gz connman-878520659c5cdb35b94e99f84dbf366281ac868b.tar.bz2 connman-878520659c5cdb35b94e99f84dbf366281ac868b.zip |
ipconfig: Rename ipconfig_set/clear_address routines
Diffstat (limited to 'src/network.c')
-rw-r--r-- | src/network.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/network.c b/src/network.c index a0867fc4..3f3e8252 100644 --- a/src/network.c +++ b/src/network.c @@ -695,7 +695,7 @@ static void set_connected_manual(struct connman_network *network) set_configuration(network); - err = __connman_ipconfig_set_address(ipconfig); + err = __connman_ipconfig_address_add(ipconfig); if (err < 0) { connman_network_set_error(network, CONNMAN_NETWORK_ERROR_CONFIGURE_FAIL); @@ -755,7 +755,7 @@ static int manual_ipv6_set(struct connman_network *network, if (service == NULL) return -EINVAL; - err = __connman_ipconfig_set_address(ipconfig_ipv6); + err = __connman_ipconfig_address_add(ipconfig_ipv6); if (err < 0) { connman_network_set_error(network, CONNMAN_NETWORK_ERROR_CONFIGURE_FAIL); @@ -1081,7 +1081,7 @@ static int manual_ipv4_set(struct connman_network *network, if (service == NULL) return -EINVAL; - err = __connman_ipconfig_set_address(ipconfig); + err = __connman_ipconfig_address_add(ipconfig); if (err < 0) { connman_network_set_error(network, CONNMAN_NETWORK_ERROR_CONFIGURE_FAIL); @@ -1120,7 +1120,7 @@ int __connman_network_clear_ipconfig(struct connman_network *network, case CONNMAN_IPCONFIG_METHOD_AUTO: return -EINVAL; case CONNMAN_IPCONFIG_METHOD_MANUAL: - __connman_ipconfig_clear_address(ipconfig); + __connman_ipconfig_address_remove(ipconfig); break; case CONNMAN_IPCONFIG_METHOD_DHCP: dhcp_stop(network); |