From: Tomek Mrugalski Date: Mon, 19 May 2014 11:47:16 +0000 (+0200) Subject: [3400] Daemon::init is now void method. X-Git-Tag: trac3434_base~32^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3de7cf28213c4b1155a81073f50dbd798cd90b64;p=thirdparty%2Fkea.git [3400] Daemon::init is now void method. --- diff --git a/src/bin/dhcp6/bundy_controller.cc b/src/bin/dhcp6/bundy_controller.cc index 9ce89295a1..2a6b4092da 100644 --- a/src/bin/dhcp6/bundy_controller.cc +++ b/src/bin/dhcp6/bundy_controller.cc @@ -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() { diff --git a/src/lib/dhcpsrv/daemon.cc b/src/lib/dhcpsrv/daemon.cc index bb9566745e..c37f923254 100644 --- a/src/lib/dhcpsrv/daemon.cc +++ b/src/lib/dhcpsrv/daemon.cc @@ -28,7 +28,6 @@ Daemon::Daemon() { } void Daemon::init(const std::string&) { - return false; } void Daemon::cleanup() {