From: Razvan Becheriu Date: Thu, 15 Oct 2020 14:23:18 +0000 (+0300) Subject: [#1405] minor changes X-Git-Tag: Kea-1.9.2~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de7ab52458d893901f322743d7550488951d03ec;p=thirdparty%2Fkea.git [#1405] minor changes --- diff --git a/src/bin/dhcp6/dhcp6_parser.yy b/src/bin/dhcp6/dhcp6_parser.yy index b99ce9a4d9..bad71cb342 100644 --- a/src/bin/dhcp6/dhcp6_parser.yy +++ b/src/bin/dhcp6/dhcp6_parser.yy @@ -1078,12 +1078,12 @@ mac_sources_value: duid_id | string_id ; -duid_id : DUID { +duid_id: DUID { ElementPtr duid(new StringElement("duid", ctx.loc2pos(@1))); ctx.stack_.back()->add(duid); }; -string_id : STRING { +string_id: STRING { ElementPtr duid(new StringElement($1, ctx.loc2pos(@1))); ctx.stack_.back()->add(duid); }; @@ -1108,12 +1108,12 @@ host_reservation_identifier: duid_id | flex_id ; -hw_address_id : HW_ADDRESS { +hw_address_id: HW_ADDRESS { ElementPtr hwaddr(new StringElement("hw-address", ctx.loc2pos(@1))); ctx.stack_.back()->add(hwaddr); }; -flex_id : FLEX_ID { +flex_id: FLEX_ID { ElementPtr flex_id(new StringElement("flex-id", ctx.loc2pos(@1))); ctx.stack_.back()->add(flex_id); };