diff options
author | Thomas Markwalder <tmark@isc.org> | 2015-10-13 06:34:15 -0400 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2015-10-13 06:34:15 -0400 |
commit | 347d4962d01dbbf991668eac48fcdbe5c74bd4ce (patch) | |
tree | d3f22c75b9b9a6fe90ffc6f12a0910bebabdddbb /common/conflex.c | |
parent | e8e6768a62d7c9cfdcc5dbd6d55936d1c791a6ed (diff) | |
download | isc-dhcp-347d4962d01dbbf991668eac48fcdbe5c74bd4ce.tar.gz |
[master] Added authoring-btye-order parameter to lease file handling
Merged in rt38396.
Diffstat (limited to 'common/conflex.c')
-rw-r--r-- | common/conflex.c | 8 |
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)) { |