bug 278: print protocol number from Ipv4Header::Print
This commit is contained in:
@@ -221,6 +221,7 @@ Ipv4Header::Print (std::ostream &os) const
|
||||
os << "tos 0x" << std::hex << m_tos << std::dec << " "
|
||||
<< "ttl " << m_ttl << " "
|
||||
<< "id " << m_identification << " "
|
||||
<< "protocol " << m_protocol << " "
|
||||
<< "offset " << m_fragmentOffset << " "
|
||||
<< "flags [" << flags << "] "
|
||||
<< "length: " << (m_payloadSize + 5 * 4)
|
||||
|
||||
Reference in New Issue
Block a user