projects
/
platform
/
core
/
api
/
connection.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provided option to set IPType as Auto for IPv6
[platform/core/api/connection.git]
/
test
/
connection_test.c
diff --git
a/test/connection_test.c
b/test/connection_test.c
index
4fec771
..
332b1f2
100755
(executable)
--- 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);
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:
" - (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;
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;
}
default:
return -1;
}