diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-01 17:19:24 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-10-01 17:19:24 -0400 |
| commit | 4b6ec872c7680a2529e8c12a3ef9a4a349c1aff8 (patch) | |
| tree | e445ccd0dfb81545b5214801107e0d35ead44a90 /node/PacketDecoder.cpp | |
| parent | 3443b203e4035104071f5af0143591dcd48a4974 (diff) | |
| download | infinitytier-4b6ec872c7680a2529e8c12a3ef9a4a349c1aff8.tar.gz infinitytier-4b6ec872c7680a2529e8c12a3ef9a4a349c1aff8.zip | |
More multicast fixes.
Diffstat (limited to 'node/PacketDecoder.cpp')
| -rw-r--r-- | node/PacketDecoder.cpp | 2 |
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; |
