[router-table] fix allocated router ids bit-vector size (#3534)

This commit is contained in:
Abtin Keshavarzian
2019-01-29 19:09:25 -08:00
committed by Jonathan Hui
parent 144270105d
commit f9d757a161
+1 -1
View File
@@ -342,7 +342,7 @@ private:
}
Router mRouters[Mle::kMaxRouters];
uint8_t mAllocatedRouterIds[BitVectorBytes(Mle::kMaxRouterId)];
uint8_t mAllocatedRouterIds[BitVectorBytes(Mle::kMaxRouterId + 1)];
uint8_t mRouterIdReuseDelay[Mle::kMaxRouterId + 1];
uint32_t mRouterIdSequenceLastUpdated;
uint8_t mRouterIdSequence;