Browse Source

[1651] Moved comment from establishSession() header to its implementation

Stephen Morris 13 years ago
parent
commit
30306192b0
2 changed files with 3 additions and 5 deletions
  1. 3 1
      src/bin/dhcp4/ctrl_dhcp4_srv.cc
  2. 0 4
      src/bin/dhcp4/ctrl_dhcp4_srv.h

+ 3 - 1
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);
 }
 

+ 0 - 4
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.