Browse Source

[3400] Daemon::init is now void method.

Tomek Mrugalski 11 years ago
parent
commit
3de7cf2821
2 changed files with 2 additions and 3 deletions
  1. 2 2
      src/bin/dhcp6/bundy_controller.cc
  2. 0 1
      src/lib/dhcpsrv/daemon.cc

+ 2 - 2
src/bin/dhcp6/bundy_controller.cc

@@ -132,7 +132,7 @@ bundyConfigHandler(ConstElementPtr new_config) {
     return (ControlledDhcpv6Srv::processConfig(merged_config));
     return (ControlledDhcpv6Srv::processConfig(merged_config));
 }
 }
 
 
-bool
+void
 ControlledDhcpv6Srv::init(const std::string& /* config_file*/) {
 ControlledDhcpv6Srv::init(const std::string& /* config_file*/) {
     // This is Bundy configuration backed. It established control session
     // This is Bundy configuration backed. It established control session
     // that is used to connect to Bundy framework.
     // that is used to connect to Bundy framework.
@@ -195,7 +195,7 @@ ControlledDhcpv6Srv::init(const std::string& /* config_file*/) {
               .arg(ctrl_socket);
               .arg(ctrl_socket);
     IfaceMgr::instance().addExternalSocket(ctrl_socket, sessionReader);
     IfaceMgr::instance().addExternalSocket(ctrl_socket, sessionReader);
 
 
-    return (true);
+    return;
 }
 }
 
 
 void ControlledDhcpv6Srv::cleanup() {
 void ControlledDhcpv6Srv::cleanup() {

+ 0 - 1
src/lib/dhcpsrv/daemon.cc

@@ -28,7 +28,6 @@ Daemon::Daemon() {
 }
 }
 
 
 void Daemon::init(const std::string&) {
 void Daemon::init(const std::string&) {
-    return false;
 }
 }
 
 
 void Daemon::cleanup() {
 void Daemon::cleanup() {