From: Ted Lemon Date: Mon, 19 Jul 1999 20:10:12 +0000 (+0000) Subject: pick-first-value expression was being set up incorrectly. X-Git-Tag: V3-BETA-1-PATCH-2~5^2~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aed6cc911a615fdfb7a9b1d393d9ce50979a88ce;p=thirdparty%2Fdhcp.git pick-first-value expression was being set up incorrectly. --- diff --git a/common/parse.c b/common/parse.c index fc4acc86e..05acf3975 100644 --- a/common/parse.c +++ b/common/parse.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: parse.c,v 1.31 1999/07/19 15:35:47 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: parse.c,v 1.32 1999/07/19 20:10:12 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -1855,7 +1855,7 @@ int parse_non_binary (expr, cfile, lose, context) if (!(expression_allocate (expr, "parse_expression: PICK_FIRST_VALUE"))) log_fatal ("can't allocate expression"); - (*expr) -> op = expr_reverse; + (*expr) -> op = expr_pick_first_value; token = next_token (&val, cfile); if (token != LPAREN)