ef975405dc
by default, inet6 support is built in, but it can be disabled for systems that do not have inet6 capability.
14 lines
470 B
Text
14 lines
470 B
Text
$NetBSD: patch-ad,v 1.1 2007/08/18 09:59:49 plunky Exp $
|
|
|
|
--- linc2/src/linc-connection.c.orig 2007-07-29 19:21:53.000000000 +0100
|
|
+++ linc2/src/linc-connection.c
|
|
@@ -444,7 +444,9 @@ link_connection_from_fd_T (LinkConnectio
|
|
|
|
switch (cnx->proto->family) {
|
|
case AF_INET:
|
|
+#ifdef AF_INET6
|
|
case AF_INET6:
|
|
+#endif
|
|
if (_link_timeout && !cnx->timeout_msec) /* this should'nt happen twice but I'm always paranoid... */
|
|
cnx->timeout_msec = _link_timeout;
|
|
break;
|