diff options
author | 1999-01-07 06:05:02 +0000 | |
---|---|---|
committer | 1999-01-07 06:05:02 +0000 | |
commit | db05869ae9d4bca620f788c76026beb5db2b09a6 (patch) | |
tree | 3a1c3d18a94e320d00a2719be0b1bd44fbd22dc9 /sys/net/encap.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/net/encap.c')
-rw-r--r-- | sys/net/encap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/encap.c b/sys/net/encap.c index 64648a1639c..b7c35fa7c93 100644 --- a/sys/net/encap.c +++ b/sys/net/encap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: encap.c,v 1.24 1998/08/19 13:29:18 provos Exp $ */ +/* $OpenBSD: encap.c,v 1.25 1999/01/07 06:05:02 deraadt Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -204,8 +204,8 @@ encap_notify_sa(u_int32_t spi, struct in_addr dst, struct in_addr src, if (table != NULL) { /* Protocols with own inpcb tables */ bzero((caddr_t)&zeroin_addr, sizeof(zeroin_addr)); - inp = in_pcblookup(table, dst, dport, zeroin_addr, sport, - INPLOOKUP_WILDCARD); + inp = in_pcblookup(table, &dst, dport, &zeroin_addr, sport, + INPLOOKUP_WILDCARD); } else { /* RAW protocol - taken from raw_ip.c */ /* XXX - we can have more than one inp sleeping here */ |