mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-04 08:15:14 +00:00
- rt15979 integration error repairs [ISC-Bugs #16132]
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: confpars.c,v 1.154 2006/06/01 20:23:17 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
|
"$Id: confpars.c,v 1.155 2006/06/02 17:11:49 dhankins Exp $ Copyright (c) 2004-2006 Internet Systems Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -3390,18 +3390,15 @@ int parse_allow_deny (oc, cfile, flag)
|
|||||||
token = next_token(&val, NULL, cfile);
|
token = next_token(&val, NULL, cfile);
|
||||||
if (token != IS) {
|
if (token != IS) {
|
||||||
parse_warn(cfile, "Expecting 'is reserved'.");
|
parse_warn(cfile, "Expecting 'is reserved'.");
|
||||||
status = 0;
|
return 0;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
token = next_token(&val, NULL, cfile);
|
token = next_token(&val, NULL, cfile);
|
||||||
if (token != TOKEN_RESERVED) {
|
if (token != TOKEN_RESERVED) {
|
||||||
parse_warn(cfile, "Expecting 'reserved'.");
|
parse_warn(cfile, "Expecting 'reserved'.");
|
||||||
status = 0;
|
return 0;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
status = option_cache(oc, NULL, data,
|
code = SV_RESERVE_INFINITE;
|
||||||
&server_options[SV_RESERVE_INFINITE], MDL);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user