diff options
author | 1999-01-07 06:05:02 +0000 | |
---|---|---|
committer | 1999-01-07 06:05:02 +0000 | |
commit | db05869ae9d4bca620f788c76026beb5db2b09a6 (patch) | |
tree | 3a1c3d18a94e320d00a2719be0b1bd44fbd22dc9 /sys/netinet/tcp_usrreq.c | |
parent | fix IFAFREE() to be safe for if/else nesting (diff) | |
download | wireguard-openbsd-db05869ae9d4bca620f788c76026beb5db2b09a6.tar.xz wireguard-openbsd-db05869ae9d4bca620f788c76026beb5db2b09a6.zip |
in_pcblookup() now takes ptr to both ip address arguments
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 77373050341..02cb808c772 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.30 1999/01/07 05:52:26 deraadt Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.31 1999/01/07 06:05:05 deraadt Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -635,8 +635,8 @@ tcp_ident(oldp, oldlenp, newp, newlen) lin->sin_addr, lin->sin_port); if (inp == NULL) { ++tcpstat.tcps_pcbhashmiss; - inp = in_pcblookup(&tcbtable, fin->sin_addr, fin->sin_port, - lin->sin_addr, lin->sin_port, 0); + inp = in_pcblookup(&tcbtable, &fin->sin_addr, fin->sin_port, + &lin->sin_addr, lin->sin_port, 0); } if (inp != NULL && (inp->inp_socket->so_state & SS_CONNECTOUT)) { tir.ruid = inp->inp_socket->so_ruid; |