Author: ae Date: Wed Nov 14 17:14:03 2012 New Revision: 243028 URL: http://svnweb.freebsd.org/changeset/base/243028
Log: zoneid has unsigned type. MFC after: 1 week Modified: head/sys/netinet6/scope6.c Modified: head/sys/netinet6/scope6.c ============================================================================== --- head/sys/netinet6/scope6.c Wed Nov 14 14:08:24 2012 (r243027) +++ head/sys/netinet6/scope6.c Wed Nov 14 17:14:03 2012 (r243028) @@ -388,7 +388,7 @@ sa6_recoverscope(struct sockaddr_in6 *si zoneid = ntohs(sin6->sin6_addr.s6_addr16[1]); if (zoneid) { /* sanity check */ - if (zoneid < 0 || V_if_index < zoneid) + if (V_if_index < zoneid) return (ENXIO); if (!ifnet_byindex(zoneid)) return (ENXIO); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"