Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2014 06:34:16 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268525 - head/sys/netinet6
Message-ID:  <201407110634.s6B6YGpQ081960@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407110634.s6B6YGpQ081960>