Re: [PATCH] Use '@interface' for link-local DNS servers in the dnsmasq config

2011-08-26 Thread Michael Stapelberg
Hi Dan, Excerpts from Dan Williams's message of 2011-08-25 22:54:53 +0200: Pushed to 0.9 and 0.8 with a small fix to avoid the extra allocation when the interface is not returned. If you can re-verify my g_strdup_printf - strncat conversion that'd be great. Yep, it works correctly. Thanks!

Re: [PATCH] Use '@interface' for link-local DNS servers in the dnsmasq config

2011-08-25 Thread Dan Williams
On Wed, 2011-08-24 at 14:09 +0200, Michael Stapelberg wrote: Hi Dan, Excerpts from Dan Williams's message of 2011-08-20 00:47:59 +0200: Thanks! Though we do risk buffer overflows because the buffer being passed into the function is only INET6_ADDRSTRLEN long, so we need to be more

Re: [PATCH] Use '@interface' for link-local DNS servers in the dnsmasq config

2011-08-24 Thread Michael Stapelberg
Hi Dan, Excerpts from Dan Williams's message of 2011-08-20 00:47:59 +0200: Thanks! Though we do risk buffer overflows because the buffer being passed into the function is only INET6_ADDRSTRLEN long, so we need to be more careful here when appending the interface name. I've reworked that a

Re: [PATCH] Use '@interface' for link-local DNS servers in the dnsmasq config

2011-08-19 Thread Dan Williams
On Fri, 2011-08-12 at 13:50 +0200, Michael Stapelberg wrote: Hi, the attached patch makes the dnsmasq DNS plugin work with IPv6 DNS servers with link-local IP addresses. This is similar to commit c3893b5325ca61261be1749490352f26b41bd479, where '%interface' is appended to the entries in

[PATCH] Use '@interface' for link-local DNS servers in the dnsmasq config

2011-08-12 Thread Michael Stapelberg
99cd08234bffdaebbafb5e4deff302809fa819ae Mon Sep 17 00:00:00 2001 From: Michael Stapelberg mich...@stapelberg.de Date: Fri, 12 Aug 2011 13:43:07 +0200 Subject: [PATCH] Use '@interface' for link-local DNS servers in the dnsmasq config --- src/dns-manager/nm-dns-bind.c|3 ++- src/dns