Date: Fri, 17 Apr 2015 15:26:09 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281656 - head/sys/netinet6 Message-ID: <201504171526.t3HFQ9v9026954@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Fri Apr 17 15:26:08 2015 New Revision: 281656 URL: https://svnweb.freebsd.org/changeset/base/281656 Log: Fix r281649: don't call in6_clearscope() twice. Submitted by: ae Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c ============================================================================== --- head/sys/netinet6/in6.c Fri Apr 17 15:18:54 2015 (r281655) +++ head/sys/netinet6/in6.c Fri Apr 17 15:26:08 2015 (r281656) @@ -1696,7 +1696,7 @@ in6_ifhasaddr(struct ifnet *ifp, struct struct in6_ifaddr *ia6; in6 = *addr; - if (in6_clearscope(&in6) || in6_clearscope(&in6)) + if (in6_clearscope(&in6)) return (0); in6_setscope(&in6, ifp, NULL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504171526.t3HFQ9v9026954>