summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2008-05-15 19:40:39 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2008-05-15 19:40:39 +0000
commitde28a5488d238ee5f0b97a2d204f218adeb88e8e (patch)
tree61b5440c53aaa5d75c8892be09c31d8dfce9c3da /sys/net/pf.c
parentd35a433ba50c5edc5ee1e5f646428209ec1e7800 (diff)
divert for ipv6; ok henning, pyr
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r--sys/net/pf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 42cb24c54f9..9245ae03b81 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.573 2008/05/09 02:44:54 markus Exp $ */
+/* $OpenBSD: pf.c,v 1.574 2008/05/15 19:40:37 markus Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -2666,7 +2666,8 @@ pf_socket_lookup(int direction, struct pf_pdesc *pd)
inp = in6_pcbhashlookup(tb, &saddr->v6, sport, &daddr->v6,
dport);
if (inp == NULL) {
- inp = in6_pcblookup_listen(tb, &daddr->v6, dport, 0);
+ inp = in6_pcblookup_listen(tb, &daddr->v6, dport, 0,
+ NULL);
if (inp == NULL)
return (-1);
}