Load times for Large Subnets

David W. Hankins David_Hankins at isc.org
Tue Oct 9 22:21:18 UTC 2007


On Tue, Oct 09, 2007 at 03:09:33PM -0700, Larry Apolonio wrote:
> >+	if (table == NULL)
> >+		return (unsigned char *) "(unused)";
> >+
> >	if (table->hash_count == 0)
> >		return (unsigned char *) "Invalid hash table.";

This is in reverse order:

>        if (table->hash_count == 0)
>                return (char *) "Invalid hash table.";
> 
>        if (table == NULL)
>                return (unsigned char *) "(unused)";

-- 
Ash bugud-gul durbatuluk agh burzum-ishi krimpatul.
Why settle for the lesser evil?	 https://secure.isc.org/store/t-shirt/
-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		     you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins


More information about the dhcp-users mailing list