Fix condition.

Sponsored by:	Yandex LLC
This commit is contained in:
Andrey V. Elsukov 2014-07-11 06:34:15 +00:00
parent 5d4393ed1f
commit ff899182ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268525

View file

@ -2147,7 +2147,7 @@ nd6_output_lle(struct ifnet *ifp, struct ifnet *origifp, struct mbuf *m,
IP_PROBE(send, NULL, NULL, mtod(m, struct ip6_hdr *), ifp, NULL,
mtod(m, struct ip6_hdr *));
if ((ifp->if_flags & IFF_LOOPBACK) != 0)
if ((ifp->if_flags & IFF_LOOPBACK) == 0)
origifp = ifp;
error = (*ifp->if_output)(origifp, m, (struct sockaddr *)dst, NULL);