View | Details | Raw Unified | Return to bug 2540
Collapse All | Expand All

(-)a/src/mesh/model/dot11s/ie-dot11s-perr.cc (-2 / +2 lines)
 Lines 70-77   IePerr::DeserializeInformationField (Buffer::Iterator start, uint8_t length) Link Here 
70
  Buffer::Iterator i = start;
70
  Buffer::Iterator i = start;
71
  i.Next (1); //TTL //Mode flags is not used now
71
  i.Next (1); //TTL //Mode flags is not used now
72
  uint8_t numOfDest = i.ReadU8 ();
72
  uint8_t numOfDest = i.ReadU8 ();
73
  NS_ASSERT ((2 + 13 * numOfDest ) == length);
73
  NS_ABORT_UNLESS ((2 + 13 * numOfDest ) == length);
74
  length = 0; //to avoid compiler warning in optimized builds
74
75
  for (unsigned int j = 0; j < numOfDest; j++)
75
  for (unsigned int j = 0; j < numOfDest; j++)
76
    {
76
    {
77
      i.Next (1); // flags is not used now
77
      i.Next (1); // flags is not used now

Return to bug 2540