mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 05:43:59 +00:00
Fix condition.
Sponsored by: Yandex LLC
This commit is contained in:
parent
5d4393ed1f
commit
ff899182ec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268525
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue