BIND 10 trac3035, updated. d77a5642cc9696757b2559f53b103218b89e9bba [3035] Added supplementary comment to the function processing Hostname.
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Nov 20 15:28:23 UTC 2013
The branch, trac3035 has been updated
via d77a5642cc9696757b2559f53b103218b89e9bba (commit)
from 1c9cf817f494416bfe7dba7896c4e23f331239bc (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 d77a5642cc9696757b2559f53b103218b89e9bba
Author: Marcin Siodelski <marcin at isc.org>
Date: Wed Nov 20 16:28:15 2013 +0100
[3035] Added supplementary comment to the function processing Hostname.
-----------------------------------------------------------------------
Summary of changes:
src/bin/dhcp4/dhcp4_srv.h | 9 +++++++++
1 file changed, 9 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/bin/dhcp4/dhcp4_srv.h b/src/bin/dhcp4/dhcp4_srv.h
index 7b21b7b..0e07a87 100644
--- a/src/bin/dhcp4/dhcp4_srv.h
+++ b/src/bin/dhcp4/dhcp4_srv.h
@@ -293,6 +293,9 @@ protected:
/// message. In some cases, server may cease to add any options to the
/// response, i.e. when server doesn't support DNS updates.
///
+ /// This function does not throw. It simply logs the debug message if the
+ /// processing of the FQDN or Hostname failed.
+ ///
/// @param query A DISCOVER or REQUEST message from a cient.
/// @param [out] answer A response message to be sent to a client.
void processClientName(const Pkt4Ptr& query, Pkt4Ptr& answer);
@@ -313,6 +316,12 @@ private:
/// @brief Process Hostname %Option sent by a client.
///
+ /// This function is called by the @c DHcpv4Srv::processClientName when
+ /// the client has sent the Hostname option in its message to the server.
+ /// It comprises the actual logic to parse the Hostname option and
+ /// prepare the Hostname option to be sent back to the client in the
+ /// server's response.
+ ///
/// @param opt_hostname An @c OptionCustom object encapsulating the Hostname
/// %Option.
/// @param [out] answer A response message to be sent to a client.
More information about the bind10-changes
mailing list