Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu correct a post 8.10.1 bug - stock 8.10.1 starts with lis...
details: https://anonhg.NetBSD.org/src/rev/5b8eda111edf
branches: trunk
changeset: 485691:5b8eda111edf
user: itojun <itojun%NetBSD.org@localhost>
date: Wed May 03 11:07:58 2000 +0000
description:
correct a post 8.10.1 bug - stock 8.10.1 starts with listening IPv6 socket
by default, and crushes old configuration files when sendmail gets IPv6
connection. by default listen to IPv4 socket only for backward compatibility.
turn on IPv6 support.
IPv6 socket can be enabled by the following sendmail.cf directive:
O DaemonPortOptions=Family=inet,address=0.0.0.1
O DaemonPortOptions=Family=inet6,address=::
diffstat:
gnu/dist/sendmail/sendmail/conf.c | 2 +-
gnu/usr.sbin/sendmail/Makefile.inc | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 901b8beff621 -r 5b8eda111edf gnu/dist/sendmail/sendmail/conf.c
--- a/gnu/dist/sendmail/sendmail/conf.c Wed May 03 11:02:48 2000 +0000
+++ b/gnu/dist/sendmail/sendmail/conf.c Wed May 03 11:07:58 2000 +0000
@@ -315,7 +315,7 @@
#ifdef HESIOD_INIT
HesiodContext = NULL;
#endif /* HESIOD_INIT */
-#if NETINET6
+#if 0 /*NETINET6*/
/* Detect if IPv6 is available at run time */
i = socket(AF_INET6, SOCK_STREAM, 0);
if (i >= 0)
diff -r 901b8beff621 -r 5b8eda111edf gnu/usr.sbin/sendmail/Makefile.inc
--- a/gnu/usr.sbin/sendmail/Makefile.inc Wed May 03 11:02:48 2000 +0000
+++ b/gnu/usr.sbin/sendmail/Makefile.inc Wed May 03 11:07:58 2000 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.inc,v 1.2 2000/05/03 10:50:56 itojun Exp $
+# $NetBSD: Makefile.inc,v 1.3 2000/05/03 11:07:59 itojun Exp $
WARNS?= 0
CPPFLAGS+= -DNEWDB -DNIS
CPPFLAGS+= -DMAP_REGEX -DTCPWRAPPERS -DNETISO
-#CPPFLAGS+= -DNEEDSGETIPNODE -DNETINET6
+CPPFLAGS+= -DNEEDSGETIPNODE -DNETINET6
CPPFLAGS+= -I. -I${DIST}/sendmail/sendmail -I${DIST}/sendmail/include
.if exists(${.CURDIR}/../../Makefile.inc)
Home |
Main Index |
Thread Index |
Old Index