mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-04 08:15:14 +00:00
The second argument to suffix is numeric.
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: parse.c,v 1.85 2000/09/21 07:52:19 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: parse.c,v 1.86 2000/09/27 19:13:57 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -2798,7 +2798,7 @@ int parse_non_binary (expr, cfile, lose, context)
|
|||||||
if (token != COMMA)
|
if (token != COMMA)
|
||||||
goto nocomma;
|
goto nocomma;
|
||||||
|
|
||||||
if (!parse_data_expression (&(*expr) -> data.suffix.len,
|
if (!parse_numeric_expression (&(*expr) -> data.suffix.len,
|
||||||
cfile, lose))
|
cfile, lose))
|
||||||
goto nonum;
|
goto nonum;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user