diff --git a/src/devices/mesh/dot11s/ie-dot11s-rann.cc b/src/devices/mesh/dot11s/ie-dot11s-rann.cc index 1e4940523..2ce46fcfe 100644 --- a/src/devices/mesh/dot11s/ie-dot11s-rann.cc +++ b/src/devices/mesh/dot11s/ie-dot11s-rann.cc @@ -163,7 +163,12 @@ IeRann::GetInformationSize () const void IeRann::PrintInformation (std::ostream &os) const { - // TODO + os << " flags = " << (int)m_flags << "\n"; + os << " hop count = " << (int)m_hopcount << "\n"; + os << " TTL = " << (int)m_ttl << "\n"; + os << " originator address = " << m_originatorAddress<< "\n"; + os << " dst seq. number = " << m_destSeqNumber << "\n"; + os << " metric = " << m_metric << "\n"; } bool @@ -183,7 +188,7 @@ operator== (const IeRann & a, const IeRann & b) /// Built-in self test for IeRann struct IeRannBist : public Test { - IeRannBist () : Test ("Mesh/802.11s/IeRann") {} + IeRannBist () : Test ("Mesh/802.11s/IE/RANN") {} virtual bool RunTests(); }; diff --git a/src/devices/mesh/wifi-information-element.cc b/src/devices/mesh/wifi-information-element.cc index d4f160203..27189dcd8 100644 --- a/src/devices/mesh/wifi-information-element.cc +++ b/src/devices/mesh/wifi-information-element.cc @@ -60,7 +60,7 @@ uint32_t WifiInformationElement::Deserialize (Buffer::Iterator i) void WifiInformationElement::Print (std::ostream &os) const { - os << "\n"; + os << "\n\n"; PrintInformation (os); os << "\n"; }