From: Francis Dupont Date: Fri, 16 Dec 2016 21:53:23 +0000 (+0100) Subject: [5017] 6->4 in comments X-Git-Tag: trac5088_base~1^2~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fea9f2c2d3493dd3839fd4a36e28adb7e947abdf;p=thirdparty%2Fkea.git [5017] 6->4 in comments --- diff --git a/src/bin/dhcp4/dhcp4_parser.yy b/src/bin/dhcp4/dhcp4_parser.yy index 983fafca82..7757165929 100644 --- a/src/bin/dhcp4/dhcp4_parser.yy +++ b/src/bin/dhcp4/dhcp4_parser.yy @@ -314,7 +314,7 @@ global_objects: global_object | global_objects COMMA global_object ; -// This represents a single top level entry, e.g. Dhcp6 or DhcpDdns. +// This represents a single top level entry, e.g. Dhcp4 or DhcpDdns. global_object: dhcp4_object | logging_object | dhcp6_json_object @@ -340,7 +340,7 @@ dhcp4_object: DHCP4 { // subparser: similar to the corresponding rule but without parent // so the stack is empty at the rule entry. sub_dhcp4: LCURLY_BRACKET { - // Parse the Dhcp6 map + // Parse the Dhcp4 map ElementPtr m(new MapElement(ctx.loc2pos(@1))); ctx.stack_.push_back(m); } global_params RCURLY_BRACKET { @@ -661,7 +661,7 @@ subnet4_list: SUBNET4 { ctx.leave(); }; -// This defines the ... in "subnet6": [ ... ] +// This defines the ... in "subnet4": [ ... ] // It can either be empty (no subnets defined), have one subnet // or have multiple subnets separate by comma. subnet4_list_content: %empty @@ -675,7 +675,7 @@ not_empty_subnet4_list: subnet4 // --- Subnet definitions ------------------------------- // This defines a single subnet, i.e. a single map with -// subnet6 array. +// subnet4 array. subnet4: LCURLY_BRACKET { ElementPtr m(new MapElement(ctx.loc2pos(@1))); ctx.stack_.back()->add(m); @@ -688,7 +688,7 @@ subnet4: LCURLY_BRACKET { // ctx.stack_.back()->set("interface", StringElement("loopback")); // } // - // We can also stack up one level (Dhcp6) and copy over whatever + // We can also stack up one level (Dhcp4) and copy over whatever // global parameters we want to: // if (!ctx.stack_.back()->get("renew-timer")) { // ElementPtr renew = ctx_stack_[...].get("renew-timer"); @@ -700,7 +700,7 @@ subnet4: LCURLY_BRACKET { }; sub_subnet4: LCURLY_BRACKET { - // Parse the subnet6 list entry map + // Parse the subnet4 list entry map ElementPtr m(new MapElement(ctx.loc2pos(@1))); ctx.stack_.push_back(m); } subnet4_params RCURLY_BRACKET {