service: Return all system defined nameservers when asked
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Tue, 3 Jan 2012 12:36:28 +0000 (14:36 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 5 Jan 2012 10:09:16 +0000 (11:09 +0100)
The connman_service_get_nameservers() is changed to return
all system defined nameservers. This means that the function
now returns an allocated array of all nameservers and caller
must deallocate the returned array.

The change is needed so that we can combine the nameservers
that are set by DHCP code and the IPv6 nameservers that are
set by router advertisements.


No differences found