BIND 10 master, updated. 76fa5523da1da9778a686b39dbba5759dcea34da [master] Compilation fix in src/lib/dhcp/addr_utilities.cc (after 2238 merge)
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Oct 1 15:56:07 UTC 2012
The branch, master has been updated
via 76fa5523da1da9778a686b39dbba5759dcea34da (commit)
from 09e793e3c71fbbc12f8f8461ceafbabc2edcbc9e (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 76fa5523da1da9778a686b39dbba5759dcea34da
Author: Tomek Mrugalski <tomasz at isc.org>
Date: Mon Oct 1 17:54:51 2012 +0200
[master] Compilation fix in src/lib/dhcp/addr_utilities.cc (after 2238 merge)
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcp/addr_utilities.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/addr_utilities.cc b/src/lib/dhcp/addr_utilities.cc
index 15999d4..e827fc2 100644
--- a/src/lib/dhcp/addr_utilities.cc
+++ b/src/lib/dhcp/addr_utilities.cc
@@ -22,7 +22,7 @@ namespace dhcp {
isc::asiolink::IOAddress firstAddrInPrefix(const isc::asiolink::IOAddress& prefix,
uint8_t len) {
- static char bitMask[]= { 0, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe, 0xff };
+ const static uint8_t bitMask[]= { 0, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe, 0xff };
uint8_t packed[V6ADDRESS_LEN];
// First we copy the whole address as 16 bytes.
@@ -57,7 +57,7 @@ isc::asiolink::IOAddress firstAddrInPrefix(const isc::asiolink::IOAddress& prefi
isc::asiolink::IOAddress lastAddrInPrefix(const isc::asiolink::IOAddress& prefix,
uint8_t len) {
- static char bitMask[]= { 0, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe, 0xff };
+ const static uint8_t bitMask[]= { 0, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe, 0xff };
uint8_t packed[V6ADDRESS_LEN];
// First we copy the whole address as 16 bytes.
More information about the bind10-changes
mailing list