summaryrefslogtreecommitdiffstats
path: root/sys/net/encap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/encap.c')
-rw-r--r--sys/net/encap.c6
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 */