dnsproxy: Add or remove ::1 to/from resolv.conf when necessary
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Thu, 4 Apr 2013 11:44:51 +0000 (14:44 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 5 Apr 2013 11:43:15 +0000 (14:43 +0300)
commite0f7dc80fe172d8e3115ec3f08c281bc37ee8019
tree4cae43fc1634555e10d2566136dc47bae5f08d5a
parent88a2b9b5d76d347af42a639e9127b5ad2b3abe4e
dnsproxy: Add or remove ::1 to/from resolv.conf when necessary

We add IPv6 loopback address to resolv.conf if we have created
an IPv6 listening socket to port 53. Also remove ::1 from resolv.conf
when deleting the proxy.
src/dnsproxy.c