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
Returned CONNECTION_DNS_CONFIG_TYPE_NONE when dns type is not set
[platform/core/api/connection.git]
/
src
/
connection_profile.c
diff --git
a/src/connection_profile.c
b/src/connection_profile.c
index
f088a27
..
a44c912
100755
(executable)
--- a/
src/connection_profile.c
+++ b/
src/connection_profile.c
@@
-1928,7
+1928,8
@@
EXPORT_API int connection_profile_get_dns_config_type(connection_profile_h profi
*type = CONNECTION_DNS_CONFIG_TYPE_DYNAMIC;
break;
default:
- return CONNECTION_ERROR_OPERATION_FAILED;
+ *type = CONNECTION_DNS_CONFIG_TYPE_NONE;
+ break;
}
return CONNECTION_ERROR_NONE;