summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2016-04-11 13:02:36 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2016-04-11 13:02:36 +0000
commit3ba81960e76d6083baf01895814eccd952a72968 (patch)
treed0963e3189340c7ed1083ffb7f4fb67632df6d78 /sys/netinet6/ip6_input.c
parent6f889c849445c0f3b2503a82e2f3581e7d54ce9a (diff)
Search in the correct routing table if NPF is not defined.
ok jca@, phessler@, mikeb@
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-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