Change-Id: Iba5d634a46ffd9c9bc9545180582018f1c5add54
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Name: capi-network-connection
Summary: Network Connection library in TIZEN C API
-Version: 1.0.107
+Version: 1.0.108
Release: 1
Group: System/Network
License: Apache-2.0
if (net_info == NULL)
return CONNECTION_ERROR_OPERATION_FAILED;
- if (address_family == CONNECTION_ADDRESS_FAMILY_IPV6) {
- *ip_address = __profile_convert_ip_to_string(&net_info->IpAddr6,
+ if (address_family == CONNECTION_ADDRESS_FAMILY_IPV4) {
+ *ip_address = __profile_convert_ip_to_string(&net_info->IpAddr,
address_family);
} else {
if (net_get_preferred_ipv6_address(net_info->ProfileName, ip_address) != NET_ERR_NONE) {