BIND 10 trac1651, updated. 30306192b01472158950b60db061278f509cb8c8 [1651] Moved comment from establishSession() header to its implementation

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jun 14 09:59:16 UTC 2012


The branch, trac1651 has been updated
       via  30306192b01472158950b60db061278f509cb8c8 (commit)
      from  4472bf857531304a459cbd6fc92d048a0d0d801f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 30306192b01472158950b60db061278f509cb8c8
Author: Stephen Morris <stephen at isc.org>
Date:   Thu Jun 14 10:58:22 2012 +0100

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

-----------------------------------------------------------------------

Summary of changes:
 src/bin/dhcp4/ctrl_dhcp4_srv.cc |    4 +++-
 src/bin/dhcp4/ctrl_dhcp4_srv.h  |    4 ----
 2 files changed, 3 insertions(+), 5 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/dhcp4/ctrl_dhcp4_srv.cc b/src/bin/dhcp4/ctrl_dhcp4_srv.cc
index 048883f..b052683 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 08bf61d..688b1db 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.



More information about the bind10-changes mailing list