Returned CONNECTION_DNS_CONFIG_TYPE_NONE when dns type is not set 70/120970/1 accepted/tizen/common/20170328.140656 accepted/tizen/ivi/20170328.060726 accepted/tizen/mobile/20170328.053722 accepted/tizen/tv/20170328.060652 accepted/tizen/unified/20170328.060739 accepted/tizen/wearable/20170328.060712 submit/tizen/20170328.004746
authorSeonah Moon <seonah1.moon@samsung.com>
Mon, 27 Mar 2017 02:23:55 +0000 (11:23 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Mon, 27 Mar 2017 02:24:26 +0000 (11:24 +0900)
Change-Id: I88e1fda99a5029deb4b87b4f4cb4c58d3c0a8eaf
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/capi-network-connection.spec
src/connection_profile.c

index c05771a..001bb57 100755 (executable)
@@ -1,6 +1,6 @@
 Name:          capi-network-connection
 Summary:       Network Connection library in TIZEN C API
-Version:       1.0.98
+Version:       1.0.99
 Release:       1
 Group:         System/Network
 License:       Apache-2.0
index f088a27..a44c912 100755 (executable)
@@ -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;