summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2017-11-08 07:09:41 (GMT)
committerNiraj Kumar Goit <niraj.g@samsung.com>2017-11-08 07:09:41 (GMT)
commitaec5cbbf986f483ee45a2652e6e5c7f94c217a51 (patch)
tree15eeed9a9c67fbe0e2aca645170f740ad006a06d
parent84939c873fa52437482cc3a3731a10b5676f05d7 (diff)
downloadconnman-aec5cbbf986f483ee45a2652e6e5c7f94c217a51.zip
connman-aec5cbbf986f483ee45a2652e6e5c7f94c217a51.tar.gz
connman-aec5cbbf986f483ee45a2652e6e5c7f94c217a51.tar.bz2
Enable IPv6 privacy address support.refs/changes/17/159317/1
Change-Id: Icbffd857f35aff492e343af3da855bdc69d3b22d Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
-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);