diff options
author | 2004-05-26 22:47:40 +0000 | |
---|---|---|
committer | 2004-05-26 22:47:40 +0000 | |
commit | d2dcdce5148fc35ca56eaadcc11d0ca90ebfd7b6 (patch) | |
tree | 2082c77c1702170c21d9d2b97008851b6132da60 /sys/netinet/tcp_input.c | |
parent | add Sitecom usb-serial (CN104) (diff) | |
download | wireguard-openbsd-d2dcdce5148fc35ca56eaadcc11d0ca90ebfd7b6.tar.xz wireguard-openbsd-d2dcdce5148fc35ca56eaadcc11d0ca90ebfd7b6.zip |
use sa_family not inp; netbsd merge error; ok dhartmei
Diffstat (limited to 'sys/netinet/tcp_input.c')
-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 |