summaryrefslogtreecommitdiff
path: root/node/PacketDecoder.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-01 17:19:36 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-01 17:19:36 -0400
commit929ed5d8b8bf9b9e86c64615bb706d2d52f09246 (patch)
tree749d61f10565f7975b10d372916cc8a9a811d863 /node/PacketDecoder.cpp
parent676f391ccf5c1112d1725992dd444ac4084b570a (diff)
parent4b6ec872c7680a2529e8c12a3ef9a4a349c1aff8 (diff)
downloadinfinitytier-929ed5d8b8bf9b9e86c64615bb706d2d52f09246.tar.gz
infinitytier-929ed5d8b8bf9b9e86c64615bb706d2d52f09246.zip
Merge branch 'adamierymenko-dev' of /Users/api/Code/local-ZeroTierOne into adamierymenko-dev
Diffstat (limited to 'node/PacketDecoder.cpp')
-rw-r--r--node/PacketDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/PacketDecoder.cpp b/node/PacketDecoder.cpp
index 1560ec1e..0533ebda 100644
--- a/node/PacketDecoder.cpp
+++ b/node/PacketDecoder.cpp
@@ -564,7 +564,7 @@ bool PacketDecoder::_doMULTICAST_FRAME(const RuntimeEnvironment *_r,const Shared
// New FIFO with room for one extra, since head will be next hop
unsigned char newFifo[ZT_PROTO_VERB_MULTICAST_FRAME_LEN_PROPAGATION_FIFO + ZT_ADDRESS_LENGTH];
unsigned char *newFifoPtr = newFifo;
- unsigned char *newFifoEnd = newFifoPtr + sizeof(newFifo);
+ unsigned char *const newFifoEnd = newFifoPtr + sizeof(newFifo);
for(unsigned int i=0;i<ZT_PROTO_VERB_MULTICAST_FRAME_LEN_PROPAGATION_FIFO;) {
unsigned int j = i;
i += ZT_ADDRESS_LENGTH;