summaryrefslogtreecommitdiff
path: root/Xtranssock.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-12-19 20:54:45 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-12-19 20:54:45 +0000
commit352e5de72e125d7d474907f354462cc1442e0989 (patch)
treeea7ff5e3a408a4b87772ede9c4c6c410d5fc57dd /Xtranssock.c
parentd223c1bb16c503e58f07dfef14b8e79fe7c358ff (diff)
XFree86 4.3.99.902 (RC 2)xf86-4_3_99_902
Diffstat (limited to 'Xtranssock.c')
-rw-r--r--Xtranssock.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/Xtranssock.c b/Xtranssock.c
index 788928c..0e6019e 100644
--- a/Xtranssock.c
+++ b/Xtranssock.c
@@ -27,7 +27,7 @@ other dealings in this Software without prior written authorization
from the copyright holders.
*/
-/* $XFree86: xc/lib/xtrans/Xtranssock.c,v 3.66 2003/12/02 20:00:09 dawes Exp $ */
+/* $XFree86: xc/lib/xtrans/Xtranssock.c,v 3.67 2003/12/05 05:12:50 dawes Exp $ */
/* Copyright 1993, 1994 NCR Corporation - Dayton, Ohio, USA
*
@@ -2218,7 +2218,13 @@ TRANS(SocketUNIXCloseForCloning) (XtransConnInfo ciptr)
#ifdef TCPCONN
# ifdef TRANS_SERVER
-static char* tcp_nolisten[] = { "inet", "inet6", NULL };
+static char* tcp_nolisten[] = {
+ "inet",
+#if defined(IPv6) && defined(AF_INET6)
+ "inet6",
+#endif
+ NULL
+};
# endif
Xtransport TRANS(SocketTCPFuncs) = {