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

(-)a/src/network/model/address.cc (-1 / +1 lines)
 Lines 123-129    Link Here 
123
{
123
{
124
  NS_LOG_FUNCTION (this << static_cast<uint32_t> (type) << static_cast<uint32_t> (len));
124
  NS_LOG_FUNCTION (this << static_cast<uint32_t> (type) << static_cast<uint32_t> (len));
125
  NS_ASSERT (len <= MAX_SIZE);
125
  NS_ASSERT (len <= MAX_SIZE);
126
  return m_len == len && (m_type == type || m_type == 0);
126
  return m_len >= len && (m_type == type || m_type == 0);
127
}
127
}
128
bool 
128
bool 
129
Address::IsMatchingType (uint8_t type) const
129
Address::IsMatchingType (uint8_t type) const

Return to bug 1568