Date: Fri, 2 Mar 2012 07:22:04 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r232378 - head/sys/netinet6 Message-ID: <201203020722.q227M4r0018761@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hrs Date: Fri Mar 2 07:22:04 2012 New Revision: 232378 URL: http://svn.freebsd.org/changeset/base/232378 Log: Remove a redundant check. Modified: head/sys/netinet6/nd6.c Modified: head/sys/netinet6/nd6.c ============================================================================== --- head/sys/netinet6/nd6.c Fri Mar 2 05:55:45 2012 (r232377) +++ head/sys/netinet6/nd6.c Fri Mar 2 07:22:04 2012 (r232378) @@ -1345,16 +1345,6 @@ nd6_ioctl(u_long cmd, caddr_t data, stru struct ifaddr *ifa; struct in6_ifaddr *ia; - /* - * Try to clear ifdisabled flag when enabling - * accept_rtadv or auto_linklocal. - */ - if ((ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) && - !(ND.flags & ND6_IFF_IFDISABLED) && - (ND.flags & (ND6_IFF_ACCEPT_RTADV | - ND6_IFF_AUTO_LINKLOCAL))) - ND.flags &= ~ND6_IFF_IFDISABLED; - if ((ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) && !(ND.flags & ND6_IFF_IFDISABLED)) { /* ifdisabled 1->0 transision */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203020722.q227M4r0018761>