]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2314] Addressed some comments
authorFrancis Dupont <fdupont@isc.org>
Tue, 22 Mar 2022 16:15:48 +0000 (17:15 +0100)
committerRazvan Becheriu <razvan@isc.org>
Wed, 23 Mar 2022 07:50:04 +0000 (09:50 +0200)
src/hooks/dhcp/flex_option/flex_option.cc
src/hooks/dhcp/flex_option/flex_option_messages.mes

index 6706f4786a7f3c2a63c397af2ace3b6ed08c6609..c94f5ee96389d561531bb039a7875c383fd9d578 100644 (file)
@@ -156,7 +156,6 @@ FlexOptionImpl::SubOptionConfig::SubOptionConfig(uint16_t code,
 }
 
 FlexOptionImpl::SubOptionConfig::~SubOptionConfig() {
-    container_.reset();
 }
 
 FlexOptionImpl::FlexOptionImpl() {
index dd4acb9ac6a2aa86456af6a749a1f1542b4c8e68..0c1eaef33a13599d042c09304b20aa896845c864 100644 (file)
@@ -8,7 +8,7 @@ the log message.
 % FLEX_OPTION_PROCESS_ADD Added the option code %1 value by %2
 This debug message is printed when an option was added into the response
 packet. The option code and the value (between quotes if printable, in
-hexadecimal is not) are provided.
+hexadecimal if not) are provided.
 
 % FLEX_OPTION_PROCESS_CLIENT_CLASS Skip processing of the option code %1 for class '%2'
 This debug message is printed when the processing for an option is skipped
@@ -28,7 +28,7 @@ packet. The option code is provided.
 % FLEX_OPTION_PROCESS_SUB_ADD Added the sub-option code %1 in option code %2 value by %3
 This debug message is printed when an sub-option was added into the response
 packet. The sub-option and container option codes, and the value
-(between quotes if printable, in hexadecimal is not) are provided.
+(between quotes if printable, in hexadecimal if not) are provided.
 
 % FLEX_OPTION_PROCESS_SUB_CLIENT_CLASS Skip processing of the sub-option code %1 in option code %2 for class '%3'
 This debug message is printed when the processing for a sub-option is skipped
@@ -41,13 +41,13 @@ packet. The sub-option and container option codes are provided.
 
 % FLEX_OPTION_PROCESS_SUB_SUPERSEDE Supersedes the value of sub-option code %1 in option code %2 by %3
 This debug message is printed when a sub-option was superseded into the
-response packet. The sub-option and container option codes,  and the value
-(between quotes if printable, in hexadecimal is not) are provided.
+response packet. The sub-option and container option codes, and the value
+(between quotes if printable, in hexadecimal if not) are provided.
 
 % FLEX_OPTION_PROCESS_SUPERSEDE Supersedes the value of option code %1 by %2
 This debug message is printed when an option was superseded into the response
 packet. The option code and the value (between quotes if printable, in
-hexadecimal is not) are provided.
+hexadecimal if not) are provided.
 
 % FLEX_OPTION_UNLOAD Flex Option hooks library has been unloaded
 This info message indicates that the Flex Option hooks library has been