summaryrefslogtreecommitdiff
path: root/node/PacketDecoder.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-01 17:19:24 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-01 17:19:24 -0400
commit4b6ec872c7680a2529e8c12a3ef9a4a349c1aff8 (patch)
treee445ccd0dfb81545b5214801107e0d35ead44a90 /node/PacketDecoder.cpp
parent3443b203e4035104071f5af0143591dcd48a4974 (diff)
downloadinfinitytier-4b6ec872c7680a2529e8c12a3ef9a4a349c1aff8.tar.gz
infinitytier-4b6ec872c7680a2529e8c12a3ef9a4a349c1aff8.zip
More multicast fixes.
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 3269504b..4b13a70b 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;