diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-05-26 22:47:41 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-05-26 22:47:41 +0000 |
commit | 15e1057659876895d1ad8e4989acadfaf950686c (patch) | |
tree | 5f8d13a448a15059e97a8a5950961b3adae141c7 /sys | |
parent | 937a003fd8ec5be9cff5570858fd7cb9f9f9bb35 (diff) |
use sa_family not inp; netbsd merge error; ok dhartmei
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 |