diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 2a35751efa5..d00eca42322 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.168 2004/05/21 11:36:23 markus Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.169 2004/05/26 22:47:40 markus Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -3680,7 +3680,7 @@ syn_cache_get(src, dst, th, hlen, tlen, so, m) /* * Give the new socket our cached route reference. */ - if (inp) + if (src->sa_family == AF_INET) inp->inp_route = sc->sc_route4; /* struct assignment */ #ifdef INET6 else |