BIND 10 trac769, updated. e6b3d50483fb739da2ca83e493a1c30043ba0464 [trac769] Little bit of renaming
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jun 23 13:10:21 UTC 2011
The branch, trac769 has been updated
via e6b3d50483fb739da2ca83e493a1c30043ba0464 (commit)
from a2158e5b2c17043f0f3aa194009408aa73bd62ce (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 e6b3d50483fb739da2ca83e493a1c30043ba0464
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Thu Jun 23 15:05:15 2011 +0200
[trac769] Little bit of renaming
-----------------------------------------------------------------------
Summary of changes:
src/lib/acl/dns.h | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/acl/dns.h b/src/lib/acl/dns.h
index d1cc184..6f36e51 100644
--- a/src/lib/acl/dns.h
+++ b/src/lib/acl/dns.h
@@ -25,7 +25,7 @@ namespace acl {
namespace dns {
/**
- * \brief DNS Packet to be checked.
+ * \brief DNS request to be checked.
*
* This plays the role of Context of the generic template ACLs (in namespace
* isc::acl).
@@ -37,7 +37,7 @@ namespace dns {
* \todo Do we want a constructor to set this in a shorter manner? So we can
* call the ACLs directly?
*/
-struct Packet {
+struct RequestContext {
/// \brief The DNS message (payload).
isc::dns::ConstMessagePtr message;
/// \brief The remote IP address (eg. the client).
@@ -60,17 +60,17 @@ struct Packet {
* It is expected that messages with invalid signatures are handled before
* ACL.
*/
- std::string tisg_key;
+ std::string tsig_key_name;
};
/// \brief DNS based check.
-typedef acl::Check<Packet> Check;
+typedef acl::Check<RequestContext> Check;
/// \brief DNS based compound check.
-typedef acl::CompoundCheck<Packet> CompoundCheck;
+typedef acl::CompoundCheck<RequestContext> CompoundCheck;
/// \brief DNS based ACL.
-typedef acl::ACL<Packet> ACL;
+typedef acl::ACL<RequestContext> ACL;
/// \brief DNS based ACL loader.
-typedef acl::Loader<Packet> Loader;
+typedef acl::Loader<RequestContext> Loader;
/**
* \brief Loader singleton access function.
More information about the bind10-changes
mailing list