summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-04-11 13:02:35 +0000
committermpi <mpi@openbsd.org>2016-04-11 13:02:35 +0000
commit0e1eb9316c4d49416c2ff8c69fd3e527499b78fb (patch)
tree14984114b1219ac09022049a5ef61ace3662ee4a
parentsync (diff)
downloadwireguard-openbsd-0e1eb9316c4d49416c2ff8c69fd3e527499b78fb.tar.xz
wireguard-openbsd-0e1eb9316c4d49416c2ff8c69fd3e527499b78fb.zip
Search in the correct routing table if NPF is not defined.
ok jca@, phessler@, mikeb@
-rw-r--r--sys/netinet6/ip6_input.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index 90efc1cf4a0..7a0441a036b 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_input.c,v 1.156 2016/03/29 11:57:51 chl Exp $ */
+/* $OpenBSD: ip6_input.c,v 1.157 2016/04/11 13:02:35 mpi Exp $ */
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@ -416,9 +416,7 @@ ip6_input(struct mbuf *m)
goto hbhcheck;
}
-#if NPF > 0
rtableid = m->m_pkthdr.ph_rtableid;
-#endif
/*
* Unicast check