service: Proper ordering of nameservers and search domains
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 24 May 2012 13:25:02 +0000 (16:25 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 28 May 2012 14:00:46 +0000 (17:00 +0300)
commit8a494c57ceba6c98ff89a4af2e50f32b8ad85cf5
treea93348ba4ae9333e552c2338261bc013346b36a5
parent1f854740a04fad3f36ac912514c48d59ca6cffec
service: Proper ordering of nameservers and search domains

The primary nameserver or search domain is the first element
in the array. When adding a nameserver or search domain to
the resolver, start from the end of the array since the resolver
functions expect the most important entry to be the last one
appended.
src/service.c