summaryrefslogtreecommitdiff
path: root/common/conflex.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/conflex.c')
-rw-r--r--common/conflex.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/conflex.c b/common/conflex.c
index f23a8c78..a1ba95fd 100644
--- a/common/conflex.c
+++ b/common/conflex.c
@@ -783,6 +783,8 @@ intern(char *atom, enum dhcp_token dfv) {
return ATSFP;
break;
}
+ if (!strcasecmp(atom + 1, "uthoring-byte-order"))
+ return AUTHORING_BYTE_ORDER;
if (!strncasecmp(atom + 1, "ut", 2)) {
if (isascii(atom[3]) &&
(tolower((unsigned char)atom[3]) == 'h')) {
@@ -827,6 +829,9 @@ intern(char *atom, enum dhcp_token dfv) {
return BALANCE;
if (!strcasecmp (atom + 1, "ound"))
return BOUND;
+ if (!strcasecmp(atom+1, "ig-endian")) {
+ return TOKEN_BIG_ENDIAN;
+ }
break;
case 'c':
if (!strcasecmp(atom + 1, "ase"))
@@ -1128,6 +1133,9 @@ intern(char *atom, enum dhcp_token dfv) {
if (!strcasecmp(atom+1, "l")) {
return LL;
}
+ if (!strcasecmp(atom+1, "ittle-endian")) {
+ return TOKEN_LITTLE_ENDIAN;
+ }
break;
case 'm':
if (!strncasecmp (atom + 1, "ax", 2)) {