2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

The second argument to suffix is numeric.

This commit is contained in:
Ted Lemon
2000-09-27 19:13:57 +00:00
parent 7b7b5278ad
commit b0f452b3e3

View File

@@ -43,7 +43,7 @@
#ifndef lint
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 */
#include "dhcpd.h"
@@ -2798,8 +2798,8 @@ int parse_non_binary (expr, cfile, lose, context)
if (token != COMMA)
goto nocomma;
if (!parse_data_expression (&(*expr) -> data.suffix.len,
cfile, lose))
if (!parse_numeric_expression (&(*expr) -> data.suffix.len,
cfile, lose))
goto nonum;
token = next_token (&val, cfile);