If there are no DNS servers in a profile
(internally, when the dns count is 0),
user can not add new one manually
Change-Id: I4028dab99e01796df9b9bd63c15205ba8cdbbc1e
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
Name: capi-network-connection
Summary: Network Connection library in TIZEN C API
-Version: 0.1.3_17
+Version: 0.1.3_18
Release: 1
Group: System/Network
License: Apache License Version 2.0
else if (inet_aton(dns_address, &(net_info->DnsAddr[order-1].Data.Ipv4)) == 0)
return CONNECTION_ERROR_INVALID_PARAMETER;
+ if (net_info->DnsCount < order)
+ net_info->DnsCount = order;
+
return CONNECTION_ERROR_NONE;
}