summaryrefslogtreecommitdiff
path: root/includes/dhctoken.h
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2015-07-13 12:06:50 -0700
committerShawn Routhier <sar@isc.org>2015-07-13 12:06:50 -0700
commit45c332f037bf54134df5335ba9c888aea0c24d4d (patch)
tree6e71fbf81a321dd3be279d233b33f5f7fd9a2095 /includes/dhctoken.h
parent3496e9bc0e899e6120b8d4a2a7258fb30b4cf1f1 (diff)
downloadisc-dhcp-45c332f037bf54134df5335ba9c888aea0c24d4d.tar.gz
[master] Add code to parse a vendor option as directed by the user.
Add code to parse a vendor option. It is structured as an action in the config language. When the statement is executed it attempts to find a vendor option in the packet and a vendor option space specified by the admin for use with that packet. It then calls the proper parse routine to do the parsing.
Diffstat (limited to 'includes/dhctoken.h')
-rw-r--r--includes/dhctoken.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/dhctoken.h b/includes/dhctoken.h
index 0915a111..c4b77a7c 100644
--- a/includes/dhctoken.h
+++ b/includes/dhctoken.h
@@ -3,7 +3,7 @@
Tokens for config file lexer and parser. */
/*
- * Copyright (c) 2011-2014 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2011-2015 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2004,2007-2009 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1996-2003 by Internet Software Consortium
*
@@ -367,7 +367,8 @@ enum dhcp_token {
TOKEN_INFINIBAND = 668,
POOL6 = 669,
V6RELAY = 670,
- V6RELOPT = 671
+ V6RELOPT = 671,
+ PARSE_VENDOR_OPT = 672
};
#define is_identifier(x) ((x) >= FIRST_TOKEN && \