]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3400] Daemon::init is now void method.
authorTomek Mrugalski <tomasz@isc.org>
Mon, 19 May 2014 11:47:16 +0000 (13:47 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Mon, 19 May 2014 11:47:16 +0000 (13:47 +0200)
src/bin/dhcp6/bundy_controller.cc
src/lib/dhcpsrv/daemon.cc

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