BIND 10 trac998, updated. f685e5c06c382180eb1775bce714ea60154b08f2 [trac998] constify
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jun 23 18:30:56 UTC 2011
The branch, trac998 has been updated
via f685e5c06c382180eb1775bce714ea60154b08f2 (commit)
from 5a19ee14367d9bb796c8e43c034ee9f327052c86 (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 f685e5c06c382180eb1775bce714ea60154b08f2
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Jun 23 11:30:49 2011 -0700
[trac998] constify
-----------------------------------------------------------------------
Summary of changes:
src/lib/acl/ip_check.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/acl/ip_check.h b/src/lib/acl/ip_check.h
index beaeed4..e05cd9c 100644
--- a/src/lib/acl/ip_check.h
+++ b/src/lib/acl/ip_check.h
@@ -300,7 +300,7 @@ private:
// Set the maximum number of bits allowed in the mask, and request
// that number of bits if no prefix length was given in the constructor.
- int maxmask = 8 * ((family_ == AF_INET) ? IPV4_SIZE : IPV6_SIZE);
+ const int maxmask = 8 * ((family_ == AF_INET) ? IPV4_SIZE : IPV6_SIZE);
if (requested < 0) {
requested = maxmask;
}
More information about the bind10-changes
mailing list