]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3744] Minor comments update in the JSON parsers.
authorMarcin Siodelski <marcin@isc.org>
Tue, 17 Mar 2015 11:34:28 +0000 (12:34 +0100)
committerMarcin Siodelski <marcin@isc.org>
Tue, 17 Mar 2015 11:34:28 +0000 (12:34 +0100)
src/bin/dhcp4/json_config_parser.cc
src/bin/dhcp6/json_config_parser.cc

index 30b070a63281b6707b444e12668deb31e56efbb8..f127c1630797dd55c242b218edeef243e7ce721b 100644 (file)
@@ -416,6 +416,7 @@ configureDhcp4Server(Dhcpv4Srv&, isc::data::ConstElementPtr config_set) {
     // Thus we group parsers and will fire them in the right order:
     // all parsers other than: lease-database, subnet4 and option-data parser,
     // then: option-data parser, subnet4 parser, lease-database parser.
+    // Please do not change this order!
     ParserCollection independent_parsers;
     ParserPtr subnet_parser;
     ParserPtr option_parser;
index 315de5d08c3d09853f83cfbeea65caf22618ad23..8e5a6ddaf266eb1ea4e1d796293152bf3a18c824 100644 (file)
@@ -626,8 +626,10 @@ configureDhcp6Server(Dhcpv6Srv&, isc::data::ConstElementPtr config_set) {
     // depend on the global values. Also, option values configuration
     // must be performed after the option definitions configurations.
     // Thus we group parsers and will fire them in the right order:
-    // all parsers other than subnet6 and option-data parser,
-    // option-data parser, subnet6 parser.
+    // all parsers other than lease-database, subnet6 and
+    // option-data parser, then option-data parser, subnet6 parser,
+    // lease-database parser.
+    // Please do not change this order!
     ParserCollection independent_parsers;
     ParserPtr subnet_parser;
     ParserPtr option_parser;