]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
The second argument to suffix is numeric.
authorTed Lemon <source@isc.org>
Wed, 27 Sep 2000 19:13:57 +0000 (19:13 +0000)
committerTed Lemon <source@isc.org>
Wed, 27 Sep 2000 19:13:57 +0000 (19:13 +0000)
common/parse.c

index bb042b29cca5d6d4975340800465edc08b9f563c..88c555a0a6a8ac5f532596e1dd5e24ff9fab4da5 100644 (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);