Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
a6b416d3
Commit
a6b416d3
authored
Sep 11, 2002
by
Mark Andrews
Browse files
Don't call adjust_interfaces unless IPv6 support is enabled. [RT #3593]
parent
a29ef27b
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/named/server.c
View file @
a6b416d3
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.38
8
2002/09/1
0
04:
45:53
marka Exp $ */
/* $Id: server.c,v 1.38
9
2002/09/1
1
04:
32:29
marka Exp $ */
#include <config.h>
...
...
@@ -1496,13 +1496,11 @@ adjust_interfaces(ns_server_t *server, isc_mem_t *mctx) {
continue
;
addrp
=
dns_zone_getnotifysrc6
(
zone
);
INSIST
(
addrp
!=
NULL
);
result
=
add_listenelt
(
mctx
,
list
,
addrp
);
if
(
result
!=
ISC_R_SUCCESS
)
goto
fail
;
addrp
=
dns_zone_getxfrsource6
(
zone
);
INSIST
(
addrp
!=
NULL
);
result
=
add_listenelt
(
mctx
,
list
,
addrp
);
if
(
result
!=
ISC_R_SUCCESS
)
goto
fail
;
...
...
@@ -2196,7 +2194,8 @@ load_configuration(const char *filename, ns_server_t *server,
* Adjust the listening interfaces in accordance with the source
* addresses specified in views and zones.
*/
adjust_interfaces
(
server
,
ns_g_mctx
);
if
(
isc_net_probeipv6
()
==
ISC_R_SUCCESS
)
adjust_interfaces
(
server
,
ns_g_mctx
);
if
(
dispatchv4
!=
NULL
)
dns_dispatch_detach
(
&
dispatchv4
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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