This patch implements support for the search domains list provided by Service API.
I avoided changes to resolver driver API by using the (previously unused) domain value in append/remove functions. Only one domain can be passed per function call, so multiple search domains must be appended with separate calls. Search domains are stored in nameserver entry list inside resolver module, one domain per entry (with nameserver value NULL). Stored domains are exported into resolv.conf behind "search" keyword, maximum amount of them defined by MAXDNSRCH. Henri Bragge (2): dnsproxy: Ignore adding or removing of NULL servers Add support for multiple search domains plugins/dnsproxy.c | 6 ++++++ src/resolver.c | 33 +++++++++++++++++++++++++++------ src/service.c | 18 ++++++++++++++++-- 3 files changed, 49 insertions(+), 8 deletions(-) _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman