diff options
author | Razvan Becheriu <razvan@isc.org> | 2020-10-15 16:23:18 +0200 |
---|---|---|
committer | Razvan Becheriu <razvan@isc.org> | 2020-11-18 14:55:23 +0100 |
commit | de7ab52458d893901f322743d7550488951d03ec (patch) | |
tree | 7f24af43b5fca2745f7a5f52a464f54c09f1fd96 /src/bin/dhcp6/dhcp6_parser.yy | |
parent | [#1405] fixed warnings (diff) | |
download | kea-de7ab52458d893901f322743d7550488951d03ec.tar.xz kea-de7ab52458d893901f322743d7550488951d03ec.zip |
[#1405] minor changes
Diffstat (limited to 'src/bin/dhcp6/dhcp6_parser.yy')
-rw-r--r-- | src/bin/dhcp6/dhcp6_parser.yy | 8 |
1 files changed, 4 insertions, 4 deletions
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); }; |