summaryrefslogtreecommitdiff
path: root/usr.sbin/bind/bin
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2003-02-26 12:36:15 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2003-02-26 12:36:15 +0000
commit30d1ae24082e4f83d2eb12f6e431578a33d8eb8c (patch)
tree3103c605428985f273a159c24458b823fae98849 /usr.sbin/bind/bin
parent1e1a27449b102e0dcd96a2079206dca158158363 (diff)
listen to IPv6 interfaces by default
Diffstat (limited to 'usr.sbin/bind/bin')
-rw-r--r--usr.sbin/bind/bin/named/config.c2
-rw-r--r--usr.sbin/bind/bin/named/server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bind/bin/named/config.c b/usr.sbin/bind/bin/named/config.c
index 995d83736ae..0d8a0deba05 100644
--- a/usr.sbin/bind/bin/named/config.c
+++ b/usr.sbin/bind/bin/named/config.c
@@ -56,7 +56,7 @@ options {\n\
host-statistics no;\n\
interface-interval 60;\n\
listen-on {any;};\n\
- listen-on-v6 {none;};\n\
+ listen-on-v6 {any;};\n\
match-mapped-addresses no;\n\
memstatistics-file \"named.memstats\";\n\
multiple-cnames no;\n\
diff --git a/usr.sbin/bind/bin/named/server.c b/usr.sbin/bind/bin/named/server.c
index 00b25c963f9..708e801354f 100644
--- a/usr.sbin/bind/bin/named/server.c
+++ b/usr.sbin/bind/bin/named/server.c
@@ -1800,7 +1800,7 @@ load_configuration(const char *filename, ns_server_t *server,
* Not specified, use default.
*/
CHECK(ns_listenlist_default(ns_g_mctx, listen_port,
- ISC_FALSE, &listenon));
+ ISC_TRUE, &listenon));
}
if (listenon != NULL) {
ns_interfacemgr_setlistenon6(server->interfacemgr,