From 2b7a77a68e27fc7991a857d403cb34b2ae90fc0b Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 10 Apr 2001 23:54:03 +0000 Subject: [PATCH] 807. [bug] xfrin was not ignoring the transfer-source port. --- CHANGES | 2 ++ lib/dns/xfrin.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 6d76ca43ef..11abbe8597 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,5 @@ + 807. [bug] xfrin was not ignoring the transfer-source port. + 806. [bug] DNS_R_SEENINCLUDE was failing to propagate back up the calling stack to the zone maintence level. diff --git a/lib/dns/xfrin.c b/lib/dns/xfrin.c index c06cacfd53..13ef5dfeec 100644 --- a/lib/dns/xfrin.c +++ b/lib/dns/xfrin.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: xfrin.c,v 1.115 2001/03/05 21:15:45 bwelling Exp $ */ +/* $Id: xfrin.c,v 1.116 2001/04/10 23:54:03 marka Exp $ */ #include @@ -762,6 +762,7 @@ xfrin_create(isc_mem_t *mctx, default: INSIST(0); } + isc_sockaddr_setport(&xfr->sourceaddr, 0); isc_buffer_init(&xfr->qbuffer, xfr->qbuffer_data, sizeof(xfr->qbuffer_data));