]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Recognize pick-first-value and host-decl-name as data expressions.
authorTed Lemon <source@isc.org>
Mon, 19 Jul 1999 20:38:59 +0000 (20:38 +0000)
committerTed Lemon <source@isc.org>
Mon, 19 Jul 1999 20:38:59 +0000 (20:38 +0000)
common/tree.c

index f14980ab367770abb0439ffb0d2091acf1da4065..62aedce18333cd64084974daa107486eec434f0c 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: tree.c,v 1.38 1999/07/19 20:10:52 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: tree.c,v 1.39 1999/07/19 20:38:59 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -1630,6 +1630,8 @@ int is_data_expression (expr)
                expr -> op == expr_host_lookup ||
                expr -> op == expr_binary_to_ascii ||
                expr -> op == expr_reverse ||
+               expr -> op == expr_pick_first_value ||
+               expr -> op == expr_host_decl_name ||
                expr -> op == expr_leased_address);
 }