summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-07 06:05:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-07 06:05:06 +0000
commit05408b7afa903b5486b1034af6a525057e9b4e96 (patch)
tree47452b5d27a99a3be16fbcc7d3e943bbb2b28237 /sys/netinet/tcp_usrreq.c
parent295ce5eae351f319add00a5414929fe54cbdef05 (diff)
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.c6
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;