From: Francis Dupont Date: Fri, 24 Apr 2020 12:54:35 +0000 (+0200) Subject: [#1185] Removed extra spaces X-Git-Tag: Kea-1.7.7~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b65a22b6ea4f543f6ffc679e6962941313e91b9c;p=thirdparty%2Fkea.git [#1185] Removed extra spaces --- 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);