diff options
author | sashan <sashan@openbsd.org> | 2019-12-23 23:02:53 +0000 |
---|---|---|
committer | sashan <sashan@openbsd.org> | 2019-12-23 23:02:53 +0000 |
commit | fe572d31b990030a9e776db5bc3c1322dbd6e750 (patch) | |
tree | 9b3cd54cb2dde02f9b404e121c59d515635c5a56 /sys/netinet6 | |
parent | rdr-to with loopback destination should work even though (diff) | |
download | wireguard-openbsd-fe572d31b990030a9e776db5bc3c1322dbd6e750.tar.xz wireguard-openbsd-fe572d31b990030a9e776db5bc3c1322dbd6e750.zip |
fix broken tree. sorry for inconveniences.
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/ip6_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index 25d267c00b1..94bf3011cd7 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6_input.c,v 1.222 2019/12/23 22:33:57 sashan Exp $ */ +/* $OpenBSD: ip6_input.c,v 1.223 2019/12/23 23:02:53 sashan Exp $ */ /* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */ /* @@ -435,8 +435,8 @@ ip6_input_if(struct mbuf **mp, int *offp, int nxt, int af, struct ifnet *ifp) if (ip6_forwarding == 0 && rt->rt_ifidx != ifp->if_index && !((ifp->if_flags & IFF_LOOPBACK) || - (ifp->if_type == IFT_ENC)) || - (m->m_pkthdr.pf.flags & PF_TAG_TRANSLATE_LOCALHOST)) { + (ifp->if_type == IFT_ENC) || + (m->m_pkthdr.pf.flags & PF_TAG_TRANSLATE_LOCALHOST))) { /* received on wrong interface */ #if NCARP > 0 struct ifnet *out_if; |