svn commit: r268525 - head/sys/netinet6

Andrey V. Elsukov ae at FreeBSD.org
Fri Jul 11 06:34:16 UTC 2014


Author: ae
Date: Fri Jul 11 06:34:15 2014
New Revision: 268525
URL: http://svnweb.freebsd.org/changeset/base/268525

Log:
  Fix condition.
  
  Sponsored by:	Yandex LLC

Modified:
  head/sys/netinet6/nd6.c

Modified: head/sys/netinet6/nd6.c
==============================================================================
--- head/sys/netinet6/nd6.c	Fri Jul 11 01:49:25 2014	(r268524)
+++ head/sys/netinet6/nd6.c	Fri Jul 11 06:34:15 2014	(r268525)
@@ -2147,7 +2147,7 @@ nd6_output_lle(struct ifnet *ifp, struct
 	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);


More information about the svn-src-head mailing list