dnsproxy: Listen on IN6ADDR_ANY not Legacy INADDR_ANY
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 16 Dec 2010 12:57:16 +0000 (12:57 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 17 Dec 2010 15:02:45 +0000 (16:02 +0100)
commit6f816e4777a1a53f8ce755fdd6a206fa33c969fb
treee0e25842e63848aa24cca770a8d3a984c137a08e
parentcc2871bad90212b9e9d3937224bbabbc839ee513
dnsproxy: Listen on IN6ADDR_ANY not Legacy INADDR_ANY

We set the IPV6_V6ONLY sockopt so that Legacy IP connections also work.
Fall back to listening on INADDR_ANY if IPv6 family support isn't present.
plugins/dnsproxy.c