diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/dhcp4/dhcp4_parser.yy | 2 | ||||
-rw-r--r-- | src/bin/dhcp6/dhcp6_parser.yy | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp4/dhcp4_parser.yy index c4dec98635..8ad58216c0 100644 --- a/src/bin/dhcp4/dhcp4_parser.yy +++ b/src/bin/dhcp4/dhcp4_parser.yy @@ -618,7 +618,7 @@ ddns_replace_client_name_value: | WHEN_NOT_PRESENT { $$ = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(@1))); } - | BOOLEAN { + | BOOLEAN { error(@1, "boolean values for the replace-client-name are " "no longer supported"); } diff --git a/src/bin/dhcp6/dhcp6_parser.yy b/src/bin/dhcp6/dhcp6_parser.yy index 90155775c0..554a4b4e3a 100644 --- a/src/bin/dhcp6/dhcp6_parser.yy +++ b/src/bin/dhcp6/dhcp6_parser.yy @@ -626,7 +626,7 @@ ddns_replace_client_name_value: | WHEN_NOT_PRESENT { $$ = ElementPtr(new StringElement("when-not-present", ctx.loc2pos(@1))); } - | BOOLEAN { + | BOOLEAN { error(@1, "boolean values for the replace-client-name are " "no longer supported"); } @@ -1959,7 +1959,7 @@ ip_addresses: IP_ADDRESSES { ctx.leave(); }; -prefixes: PREFIXES { +prefixes: PREFIXES { ElementPtr l(new ListElement(ctx.loc2pos(@1))); ctx.stack_.back()->set("prefixes", l); ctx.stack_.push_back(l); |