diff options
author | Francis Dupont <fdupont@isc.org> | 2022-02-04 21:34:10 +0100 |
---|---|---|
committer | Razvan Becheriu <razvan@isc.org> | 2022-03-14 19:20:37 +0100 |
commit | af504ccd27193ca6622d202244d4b7daf358fef7 (patch) | |
tree | 308a17f3f56a735601243d18260f25ebc870fa03 /src/bin/dhcp6/dhcp6_parser.yy | |
parent | [#2355] ChangeLog update (diff) | |
download | kea-af504ccd27193ca6622d202244d4b7daf358fef7.tar.xz kea-af504ccd27193ca6622d202244d4b7daf358fef7.zip |
[#2249] Checkpoint before regen
Diffstat (limited to 'src/bin/dhcp6/dhcp6_parser.yy')
-rw-r--r-- | src/bin/dhcp6/dhcp6_parser.yy | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bin/dhcp6/dhcp6_parser.yy b/src/bin/dhcp6/dhcp6_parser.yy index 51567265c3..e713fb4d13 100644 --- a/src/bin/dhcp6/dhcp6_parser.yy +++ b/src/bin/dhcp6/dhcp6_parser.yy @@ -246,6 +246,7 @@ using namespace std; WHEN_NOT_PRESENT "when-not-present" HOSTNAME_CHAR_SET "hostname-char-set" HOSTNAME_CHAR_REPLACEMENT "hostname-char-replacement" + EARLY_GLOBAL_RESERVATIONS_LOOKUP "early-global-reservations-lookup" IP_RESERVATIONS_UNIQUE "ip-reservations-unique" RESERVATIONS_LOOKUP_FIRST "reservations-lookup-first" @@ -550,6 +551,7 @@ global_param: data_directory | statistic_default_sample_count | statistic_default_sample_age | dhcp_multi_threading + | early_global_reservations_lookup | ip_reservations_unique | reservations_lookup_first | compatibility @@ -776,6 +778,12 @@ parked_packet_limit: PARKED_PACKET_LIMIT COLON INTEGER { ctx.stack_.back()->set("parked-packet-limit", ppl); }; +early_global_reservations_lookup: EARLY_GLOBAL_RESERVATIONS_LOOKUP COLON BOOLEAN { + ctx.unique("early-global-reservations-lookup", ctx.loc2pos(@1)); + ElementPtr early(new BoolElement($3, ctx.loc2pos(@3))); + ctx.stack_.back()->set("early-global-reservations-lookup", early); +}; + ip_reservations_unique: IP_RESERVATIONS_UNIQUE COLON BOOLEAN { ctx.unique("ip-reservations-unique", ctx.loc2pos(@1)); ElementPtr unique(new BoolElement($3, ctx.loc2pos(@3))); |