rtnl: Refactor RDNSS support so we can support DNSSL
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 17 Dec 2010 22:31:30 +0000 (22:31 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 21 Dec 2010 15:55:05 +0000 (16:55 +0100)
commit5254c601b9a89660f901bb1927e3b80e8adc7bc0
tree1cddd770d846bc2548747a43be6317664ac7ae10
parent1339c2b9108c95d65b1eb2ada00c64be76008e5d
rtnl: Refactor RDNSS support so we can support DNSSL

Rather than registering the new nameserver as we hit the RDNSS option,
gather all the information first and then register the nameservers
after the loop.
That way, we can gather the search domains while we're looping, and
provide them when we register the nameservers.
src/rtnl.c