internet: print Id and SeqNo for Icmpv6Echo

This commit is contained in:
Tommaso Pecorella
2021-05-10 22:57:17 +00:00
parent 337a67c818
commit b2f6f40241

View File

@@ -991,7 +991,8 @@ void Icmpv6Echo::Print (std::ostream& os) const
{
NS_LOG_FUNCTION (this << &os);
os << "( type = " << (GetType () == 128 ? "128 (Request)" : "129 (Reply)") <<
" code = " << (uint32_t)GetCode () <<
" Id = " << (uint32_t)GetId () <<
" SeqNo = " << (uint32_t)GetSeq () <<
" checksum = " << (uint32_t)GetChecksum () << ")";
}