From d13620d51abfb292026a3c5658c562c6ac69040b Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 3 Sep 2006 05:16:59 +0000 Subject: [PATCH] comment out impossible comparison. --- sys/netinet6/scope6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet6/scope6.c b/sys/netinet6/scope6.c index 1444efb8bba4..063bf14c9ded 100644 --- a/sys/netinet6/scope6.c +++ b/sys/netinet6/scope6.c @@ -1,4 +1,4 @@ -/* $NetBSD: scope6.c,v 1.3 2006/09/01 02:25:29 dyoung Exp $ */ +/* $NetBSD: scope6.c,v 1.4 2006/09/03 05:16:59 christos Exp $ */ /* $KAME$ */ /*- @@ -348,7 +348,7 @@ sa6_recoverscope(struct sockaddr_in6 *sin6) zoneid = ntohs(sin6->sin6_addr.s6_addr16[1]); if (zoneid) { /* sanity check */ - if (zoneid < 0 || if_indexlim <= zoneid) + if (/* zoneid < 0 || */ if_indexlim <= zoneid) return (ENXIO); #ifdef __FreeBSD__ if (!ifnet_byindex(zoneid))