From: Brian Wellington Date: Thu, 25 Jan 2001 21:10:18 +0000 (+0000) Subject: The forwarders statements in zones & views didn't work. X-Git-Tag: v9.1.1rc1~29^2~27 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=9f7b524522af232af8c07d6ed8af9d871833249f;p=thirdparty%2Fbind9.git The forwarders statements in zones & views didn't work. --- diff --git a/lib/dns/config/confparser.y.dirty b/lib/dns/config/confparser.y.dirty index c9259df2dfe..2fba670e735 100644 --- a/lib/dns/config/confparser.y.dirty +++ b/lib/dns/config/confparser.y.dirty @@ -33,7 +33,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: confparser.y.dirty,v 1.51 2001/01/25 02:33:44 bwelling Exp $ */ +/* $Id: confparser.y.dirty,v 1.52 2001/01/25 21:10:18 bwelling Exp $ */ #include @@ -3680,6 +3680,7 @@ view_option: L_FORWARD zone_forward_opt INSIST(view != NULL); + replace_zero_ports($2, default_port); tmpres = dns_c_view_setforwarders(view, $2); dns_c_iplist_detach(&$2); if (tmpres == ISC_R_EXISTS) { @@ -5374,6 +5375,7 @@ zone_option: L_FILE L_QSTRING INSIST(zone != NULL); + replace_zero_ports($2, default_port); tmpres = dns_c_zone_setforwarders(zone, $2); dns_c_iplist_detach(&$2); if (tmpres == ISC_R_EXISTS) {