From: Stephen Morris Date: Thu, 14 Jun 2012 09:58:22 +0000 (+0100) Subject: [1651] Moved comment from establishSession() header to its implementation X-Git-Tag: trac2351_base~227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30306192b01472158950b60db061278f509cb8c8;p=thirdparty%2Fkea.git [1651] Moved comment from establishSession() header to its implementation --- diff --git a/src/bin/dhcp4/ctrl_dhcp4_srv.cc b/src/bin/dhcp4/ctrl_dhcp4_srv.cc index 048883f1a0..b0526830f8 100644 --- a/src/bin/dhcp4/ctrl_dhcp4_srv.cc +++ b/src/bin/dhcp4/ctrl_dhcp4_srv.cc @@ -102,10 +102,12 @@ void ControlledDhcpv4Srv::establishSession() { dhcp4CommandHandler, false); config_session_->start(); + /// Integrate the asynchronous I/O model of BIND 10 configuration + /// control with the "select" model of the DHCP server. This is + /// fully explained in \ref dhcpv4Session. int ctrl_socket = cc_session_->getSocketDesc(); cout << "b10-dhcp4: Control session started, socket=" << ctrl_socket << endl; - IfaceMgr::instance().set_session_socket(ctrl_socket, sessionReader); } diff --git a/src/bin/dhcp4/ctrl_dhcp4_srv.h b/src/bin/dhcp4/ctrl_dhcp4_srv.h index 08bf61d6ec..688b1db521 100644 --- a/src/bin/dhcp4/ctrl_dhcp4_srv.h +++ b/src/bin/dhcp4/ctrl_dhcp4_srv.h @@ -50,10 +50,6 @@ public: /// /// Creates session that will be used to receive commands and updated /// configuration from boss (or indirectly from user via bindctl). - /// - /// Integrate the asynchronous I/O model of BIND 10 configuration - /// control with the "select" model of the DHCP server. This is - /// fully explained in \ref dhcpv4Session. void establishSession(); /// @brief Terminates existing msgq session.