]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5046] Set set-config command and fixed "be be" typo
authorFrancis Dupont <fdupont@isc.org>
Thu, 22 Dec 2016 23:55:48 +0000 (00:55 +0100)
committerFrancis Dupont <fdupont@isc.org>
Thu, 22 Dec 2016 23:55:48 +0000 (00:55 +0100)
src/bin/dhcp4/ctrl_dhcp4_srv.cc
src/bin/dhcp6/ctrl_dhcp6_srv.cc

index 05879f72356179589d34903e05519a2c90bd5639..6f2cfc13912dac078e5c09dacb24f3bed427086a 100644 (file)
@@ -63,7 +63,7 @@ ConstElementPtr
 ControlledDhcpv4Srv::commandConfigReloadHandler(const string&,
                                                 ConstElementPtr args) {
     // Use set-config as it handles logging and server config
-    return (commandSetConfigHandler("", args));
+    return (commandSetConfigHandler("set-config", args));
 }
 
 ConstElementPtr
@@ -100,7 +100,7 @@ ControlledDhcpv4Srv::commandSetConfigHandler(const string&,
     // configuration attempts.
     CfgMgr::instance().rollback();
 
-    // Logging is a sibling element and must be be parsed explicitly.
+    // Logging is a sibling element and must be parsed explicitly.
     // The call to configureLogger parses the given Logging element if
     // not null, into the staging config.  Note this does not alter the
     // current loggers, they remain in effect until we apply the
index c9ff04d85ac57f897f56fe7322590fac58634f0f..5b03783e47d37934b59f47c3ace7da16492e71ec 100644 (file)
@@ -68,7 +68,7 @@ ControlledDhcpv6Srv::commandLibReloadHandler(const string&, ConstElementPtr) {
 ConstElementPtr
 ControlledDhcpv6Srv::commandConfigReloadHandler(const string&, ConstElementPtr args) {
     // Use set-config as it handles logging and server config
-    return (commandSetConfigHandler("", args));
+    return (commandSetConfigHandler("set-config", args));
 }
 
 ConstElementPtr
@@ -105,7 +105,7 @@ ControlledDhcpv6Srv::commandSetConfigHandler(const string&,
     // configuration attempts.
     CfgMgr::instance().rollback();
 
-    // Logging is a sibling element and must be be parsed explicitly.
+    // Logging is a sibling element and must be parsed explicitly.
     // The call to configureLogger parses the given Logging element if
     // not null, into the staging config.  Note this does not alter the
     // current loggers, they remain in effect until we apply the