From: Ted Lemon Date: Wed, 27 Sep 2000 19:13:57 +0000 (+0000) Subject: The second argument to suffix is numeric. X-Git-Tag: V3-BETA-2-PATCH-6~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0f452b3e364fb0d3550c77193100211c884f04f;p=thirdparty%2Fdhcp.git The second argument to suffix is numeric. --- diff --git a/common/parse.c b/common/parse.c index bb042b29c..88c555a0a 100644 --- a/common/parse.c +++ b/common/parse.c @@ -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);