Merge "Suppose Device trying to connect with a wifi router which does not support... accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.013201 accepted/tizen/unified/20180907.043101 submit/tizen/20180904.110831 submit/tizen/20180906.090023 submit/tizen_5.0/20181101.000002
authorJaehyun Kim <jeik01.kim@samsung.com>
Tue, 4 Sep 2018 11:02:23 +0000 (11:02 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Tue, 4 Sep 2018 11:02:23 +0000 (11:02 +0000)
src/connection_profile.c

index 6cbb3a2..eadfded 100755 (executable)
@@ -587,7 +587,7 @@ EXPORT_API int connection_profile_get_ip_address(connection_profile_h profile,
        } else {
                if (net_get_preferred_ipv6_address(net_info->ProfileName, ip_address) != NET_ERR_NONE) {
                        CONNECTION_LOG(CONNECTION_ERROR, "Failed to get preferred ipv6 address");
-                       *ip_address = __profile_convert_ip_to_string(&net_info->IpAddr,
+                       *ip_address = __profile_convert_ip_to_string(&net_info->IpAddr6,
                                        address_family);
                }
        }