summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub kim <taesub.kim@samsung.com>2017-11-08 08:47:16 (GMT)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-11-08 08:47:16 (GMT)
commitf25b931309afd533acdd28a74efd9f34edc154ab (patch)
tree06b57e9e346c21e61e90c1f905cb4b6ebb6b9c42
parentd6de65e9d7772234f04080180afac889b0c8b4ca (diff)
parentaec5cbbf986f483ee45a2652e6e5c7f94c217a51 (diff)
downloadconnman-f25b931309afd533acdd28a74efd9f34edc154ab.zip
connman-f25b931309afd533acdd28a74efd9f34edc154ab.tar.gz
connman-f25b931309afd533acdd28a74efd9f34edc154ab.tar.bz2
Merge "Enable IPv6 privacy address support." into tizensubmit/tizen/20171113.231943accepted/tizen/unified/20171115.061145
-rwxr-xr-xsrc/ipconfig.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ipconfig.c b/src/ipconfig.c
index ded1c11..a9d0b5a 100755
--- a/src/ipconfig.c
+++ b/src/ipconfig.c
@@ -1197,8 +1197,11 @@ static struct connman_ipconfig *create_ipv6config(int index)
ipdevice = g_hash_table_lookup(ipdevice_hash, GINT_TO_POINTER(index));
if (ipdevice)
+#if !defined TIZEN_EXT
ipv6config->ipv6_privacy_config = ipdevice->ipv6_privacy;
-
+#else
+ ipv6config->ipv6_privacy_config = ipdevice->ipv6_privacy = 2;
+#endif
ipv6config->address = connman_ipaddress_alloc(AF_INET6);
if (!ipv6config->address) {
g_free(ipv6config);