summaryrefslogtreecommitdiff
path: root/common/conflex.c
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2013-11-25 21:00:41 -0800
committerShawn Routhier <sar@isc.org>2013-11-25 21:00:41 -0800
commit619304cd878299078b5dde9ad0fe30c3a7592026 (patch)
tree610293de37d4323a820b284dbbd3fece27fde1b3 /common/conflex.c
parent0895c955d16a957107771e442397c6260d92cbc2 (diff)
downloadisc-dhcp-619304cd878299078b5dde9ad0fe30c3a7592026.tar.gz
[master] Support using v6 relay options in server decicions.
Diffstat (limited to 'common/conflex.c')
-rw-r--r--common/conflex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/conflex.c b/common/conflex.c
index 595ac4d5..9cdb88e5 100644
--- a/common/conflex.c
+++ b/common/conflex.c
@@ -1501,6 +1501,10 @@ intern(char *atom, enum dhcp_token dfv) {
return UPDATE;
break;
case 'v':
+ if (!strcasecmp (atom + 1, "6relay"))
+ return V6RELAY;
+ if (!strcasecmp (atom + 1, "6relopt"))
+ return V6RELOPT;
if (!strcasecmp (atom + 1, "endor-class"))
return VENDOR_CLASS;
if (!strcasecmp (atom + 1, "endor"))