From 2aecf7055b927271d2b80dc3b4d3bd36897b0aed Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Mon, 20 Oct 2008 13:31:25 +0200 Subject: [PATCH] bug 278: print protocol number from Ipv4Header::Print --- src/node/ipv4-header.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/ipv4-header.cc b/src/node/ipv4-header.cc index 48c9d1f30..393921c4d 100644 --- a/src/node/ipv4-header.cc +++ b/src/node/ipv4-header.cc @@ -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)