From ab74d9a4a228dedbdaddcd03bd8c6a6de04995f9 Mon Sep 17 00:00:00 2001 From: Sumit Aggarwal Date: Mon, 20 Jun 2016 21:59:53 +0530 Subject: [PATCH] Provided option to set IPType as Auto for IPv6 Change-Id: I68a5eb90d3f635b0e7f7e4c5dd59ff52226fd689 Signed-off-by: Sumit Aggarwal --- test/connection_test.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/connection_test.c b/test/connection_test.c index 4fec771..332b1f2 100755 --- a/test/connection_test.c +++ b/test/connection_test.c @@ -644,7 +644,7 @@ static int test_update_network_info(connection_profile_h profile) test_get_user_int("Input Address Family (0:IPv4 1:IPv6) :", &address_family); - if (test_get_user_int("Input IPv4 Address Type (DHCP:1, Static:2)" + if (test_get_user_int("Input IPv4/IPv6 Address Type (DHCP:1, Static:2, Auto:3)" " - (Enter for skip) :", &input_int)) { switch (input_int) { case 1: @@ -665,6 +665,11 @@ static int test_update_network_info(connection_profile_h profile) if (test_update_proxy_info(profile, address_family) == -1) return -1; break; + case 3: + rv = connection_profile_set_ip_config_type(profile, + address_family, + CONNECTION_IP_CONFIG_TYPE_AUTO); + break; default: return -1; } -- 2.7.4