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_input.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_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 1f2edfc9c3a..e08dd29ed12 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_input.c,v 1.22 1998/11/25 05:44:36 millert Exp $ */ +/* $OpenBSD: tcp_input.c,v 1.23 1999/01/07 06:05:04 deraadt Exp $ */ /* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */ /* @@ -528,8 +528,8 @@ findpcb: ti->ti_dst, ti->ti_dport); if (inp == 0) { ++tcpstat.tcps_pcbhashmiss; - inp = in_pcblookup(&tcbtable, ti->ti_src, ti->ti_sport, - ti->ti_dst, ti->ti_dport, INPLOOKUP_WILDCARD); + inp = in_pcblookup(&tcbtable, &ti->ti_src, ti->ti_sport, + &ti->ti_dst, ti->ti_dport, INPLOOKUP_WILDCARD); /* * If the state is CLOSED (i.e., TCB does not exist) then * all data in the incoming segment is discarded. |