blob: 69929ddebe6fdfddcfd262327e4e4ff69442b0f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$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;
|