not being able to open a socket on port 53 is not
an 'unexpected error'
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: interfacemgr.c,v 1.52 2000/12/11 19:19:07 bwelling Exp $ */
|
||||
/* $Id: interfacemgr.c,v 1.53 2000/12/15 00:31:27 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -252,9 +252,11 @@ ns_interface_listenudp(ns_interface_t *ifp) {
|
||||
4096, 1000, 32768, 8219, 8237,
|
||||
attrs, attrmask, &ifp->udpdispatch);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
||||
"UDP dns_dispatch_create(): %s",
|
||||
isc_result_totext(result));
|
||||
char sabuf[ISC_SOCKADDR_FORMATSIZE];
|
||||
isc_sockaddr_format(&listen_sockaddr, sabuf, sizeof(sabuf));
|
||||
isc_log_write(IFMGR_COMMON_LOGARGS, ISC_LOG_ERROR,
|
||||
"could not listen on UDP socket %s: %s",
|
||||
isc_result_totext(result));
|
||||
goto udp_dispatch_failure;
|
||||
}
|
||||
|
||||
@@ -548,7 +550,7 @@ do_ipv4(ns_interfacemgr_t *mgr) {
|
||||
if (ifp != NULL) {
|
||||
ifp->generation = mgr->generation;
|
||||
} else {
|
||||
char sabuf[256];
|
||||
char sabuf[ISC_SOCKADDR_FORMATSIZE];
|
||||
isc_sockaddr_format(&listen_sockaddr,
|
||||
sabuf, sizeof(sabuf));
|
||||
isc_log_write(IFMGR_COMMON_LOGARGS,
|
||||
|
||||
Reference in New Issue
Block a user