From abf2e095fbf172f90debb18f960e60cebd1929fb Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Mon, 5 Jun 2000 21:54:28 +0000 Subject: [PATCH] config code now guarantees that port number is set in the also-notify list --- lib/dns/zone.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/dns/zone.c b/lib/dns/zone.c index e44b40f30b..bc2c4be729 100644 --- a/lib/dns/zone.c +++ b/lib/dns/zone.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: zone.c,v 1.141 2000/06/05 03:44:17 marka Exp $ */ +/* $Id: zone.c,v 1.142 2000/06/05 21:54:28 gson Exp $ */ #include @@ -1831,8 +1831,6 @@ dns_zone_notify(dns_zone_t *zone) { LOCK(&zone->lock); for (i = 0; i < zone->notifycnt; i++) { dst = zone->notify[i]; - if (isc_sockaddr_getport(&dst) == 0) - isc_sockaddr_setport(&dst, 53); /* XXX */ if (notify_isqueued(zone, NULL, &dst)) continue; result = notify_create(zone->mctx, ¬ify);