]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1007] Addressed comments
authorFrancis Dupont <fdupont@isc.org>
Tue, 4 Aug 2020 11:04:42 +0000 (13:04 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 5 Aug 2020 11:58:29 +0000 (13:58 +0200)
src/lib/dhcpsrv/parsers/simple_parser4.cc
src/lib/dhcpsrv/parsers/simple_parser6.cc

index d4e9b0cece70596da8fce165832cd55af58093aa..9a3efa6c55be259e77036e187d117049015f0680 100644 (file)
@@ -146,7 +146,7 @@ const SimpleKeywords SimpleParser4::OPTION4_DEF_PARAMETERS = {
 /// definitions. This array lists default values for those option definitions.
 const SimpleDefaults SimpleParser4::OPTION4_DEF_DEFAULTS = {
     { "record-types", Element::string,  ""},
-    { "space",        Element::string,  "dhcp4"},
+    { "space",        Element::string,  "dhcp4"}, // DHCP4_OPTION_SPACE
     { "array",        Element::boolean, "false"},
     { "encapsulate",  Element::string,  "" }
 };
@@ -174,7 +174,7 @@ const SimpleKeywords SimpleParser4::OPTION4_PARAMETERS = {
 /// subnet, class or host reservations scopes. This array lists default values
 /// for those option-data declarations.
 const SimpleDefaults SimpleParser4::OPTION4_DEFAULTS = {
-    { "space",        Element::string,  "dhcp4"},
+    { "space",        Element::string,  "dhcp4"}, // DHCP4_OPTION_SPACE
     { "csv-format",   Element::boolean, "true"},
     { "always-send",  Element::boolean, "false"}
 };
index f61fa3f964a162f23708a5c57fb047f3dcfa1858..d9be96128f1de03fad3c9da71fac75066a27cd19 100644 (file)
@@ -142,7 +142,7 @@ const SimpleKeywords SimpleParser6::OPTION6_DEF_PARAMETERS = {
 /// definitions. This array lists default values for those option definitions.
 const SimpleDefaults SimpleParser6::OPTION6_DEF_DEFAULTS = {
     { "record-types", Element::string,  ""},
-    { "space",        Element::string,  "dhcp6"},
+    { "space",        Element::string,  "dhcp6"}, // DHCP6_OPTION_SPACE
     { "array",        Element::boolean, "false"},
     { "encapsulate",  Element::string,  "" }
 };
@@ -170,7 +170,7 @@ const SimpleKeywords SimpleParser6::OPTION6_PARAMETERS = {
 /// subnet, class or host reservations scopes. This array lists default values
 /// for those option-data declarations.
 const SimpleDefaults SimpleParser6::OPTION6_DEFAULTS = {
-    { "space",        Element::string,  "dhcp6"},
+    { "space",        Element::string,  "dhcp6"}, // DHCP6_OPTION_SPACE
     { "csv-format",   Element::boolean, "true"},
     { "always-send",  Element::boolean, "false"}
 };