Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
eacc01e1
Commit
eacc01e1
authored
Dec 15, 2000
by
Andreas Gustafsson
Browse files
not being able to open a socket on port 53 is not
an 'unexpected error'
parent
f77a1793
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/named/interfacemgr.c
View file @
eacc01e1
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfacemgr.c,v 1.5
2
2000/12/1
1 19:19:07 bwelling
Exp $ */
/* $Id: interfacemgr.c,v 1.5
3
2000/12/1
5 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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment