--- embedaddon/dhcp/minires/ns_parse.c 2012/02/21 22:30:18 1.1 +++ embedaddon/dhcp/minires/ns_parse.c 2013/07/22 12:54:39 1.1.1.1.2.1 @@ -23,7 +23,7 @@ */ #ifndef lint -static const char rcsid[] = "$Id: ns_parse.c,v 1.1 2012/02/21 22:30:18 misho Exp $"; +static const char rcsid[] = "$Id: ns_parse.c,v 1.1.1.1.2.1 2013/07/22 12:54:39 misho Exp $"; #endif /* Import. */ @@ -143,7 +143,7 @@ ns_parserr(ns_msg *handle, ns_sect section, int rrnum, isc_result_t status; /* Make section right. */ - if (section < 0 || section >= ns_s_max) + if (section >= ns_s_max) return ISC_R_NOTIMPLEMENTED; if (section != handle->_sect) setsection(handle, section);