]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Comments and unused declaration
authorAndrei Pavel <andrei.pavel@qualitance.com>
Tue, 10 Jan 2017 10:16:47 +0000 (12:16 +0200)
committerAndrei Pavel <andrei.pavel@qualitance.com>
Tue, 10 Jan 2017 10:18:09 +0000 (12:18 +0200)
src/bin/dhcp4/kea_controller.cc
src/bin/dhcp6/kea_controller.cc

index 4f68ffb062bf52913607d3aa4837667487c7504a..bda2c132d45ff75eac49b8ad49bbfead3066463a 100644 (file)
@@ -25,7 +25,7 @@ namespace {
 /// This function is used to both configure the DHCP server on its startup
 /// and dynamically reconfigure the server when SIGHUP signal is received.
 ///
-/// It fetches DHCPv6 server's configuration from the 'Dhcp4' section of
+/// It fetches DHCPv4 server's configuration from the 'Dhcp4' section of
 /// the JSON configuration file.
 ///
 /// @param file_name Configuration file location.
@@ -40,7 +40,6 @@ void configure(const std::string& file_name) {
 
     isc::data::ConstElementPtr json;
     isc::data::ConstElementPtr dhcp4;
-    isc::data::ConstElementPtr logger;
     isc::data::ConstElementPtr result;
 
     // Basic sanity check: file name must not be empty.
@@ -74,8 +73,8 @@ void configure(const std::string& file_name) {
                                 CfgMgr::instance().getStagingCfg());
 
         // Apply the new logger configuration to log4cplus. It is done before
-        // commit in case something goes wrong and before configuration load
-        // in order to log possible configuration problems.
+        // commit in case something goes wrong and before configuration load in
+        // order to log possible configuration problems.
         CfgMgr::instance().getStagingCfg()->applyLoggingCfg();
 
         // Get Dhcp4 component from the config
index cb46299c15b63d5e14831f9380e9ce899caf6422..961faf15e0e1c3e367509300c6f6a5ca2390eb04 100644 (file)
@@ -45,7 +45,6 @@ void configure(const std::string& file_name) {
 
     isc::data::ConstElementPtr json;
     isc::data::ConstElementPtr dhcp6;
-    isc::data::ConstElementPtr logger;
     isc::data::ConstElementPtr result;
 
     // Basic sanity check: file name must not be empty.
@@ -82,8 +81,8 @@ void configure(const std::string& file_name) {
                                 CfgMgr::instance().getStagingCfg());
 
         // Apply the new logger configuration to log4cplus. It is done before
-        // commit in case something goes wrong and before configuration load
-        // in order to log possible configuration problems.
+        // commit in case something goes wrong and before configuration load in
+        // order to log possible configuration problems.
         CfgMgr::instance().getStagingCfg()->applyLoggingCfg();
 
         // Get Dhcp6 component from the config