From: Wouter Wijngaards Date: Mon, 22 Mar 2010 09:38:06 +0000 (+0000) Subject: Fix bug#301. X-Git-Tag: release-1.4.4rc1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad620622a56cfc9bbf7dca90762cffb28427760a;p=thirdparty%2Funbound.git Fix bug#301. git-svn-id: file:///svn/unbound/trunk@2057 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 2ffbc693e..496d60dbf 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,8 @@ 22 March 2010: Wouter - unbound-host disables use-syslog from config file so that the config file for the main server can be used more easily. + - fix bug#301: unbound-checkconf could not parse interface + '0.0.0.0@5353', even though unbound itself worked fine. 19 March 2010: Wouter - fix fwd_ancil test to pass if the socket options are not supported. diff --git a/smallapp/unbound-checkconf.c b/smallapp/unbound-checkconf.c index 40ca6b72b..bed13c7da 100644 --- a/smallapp/unbound-checkconf.c +++ b/smallapp/unbound-checkconf.c @@ -157,7 +157,7 @@ interfacechecks(struct config_file* cfg) socklen_t alen; int i, j; for(i=0; inum_ifs; i++) { - if(!ipstrtoaddr(cfg->ifs[i], UNBOUND_DNS_PORT, &a, &alen)) { + if(!extstrtoaddr(cfg->ifs[i], &a, &alen)) { fatal_exit("cannot parse interface specified as '%s'", cfg->ifs[i]); } diff --git a/testdata/04-checkconf.tpkg b/testdata/04-checkconf.tpkg index 4b236ce9c..f2ffe3535 100644 Binary files a/testdata/04-checkconf.tpkg and b/testdata/04-checkconf.tpkg differ