Improve ICMPv6 NS printing
authorTommaso Pecorella <tommaso.pecorella@unifi.it>
Sat, 30 Aug 2014 18:19:25 +0200
changeset 10877 893b90a5dc8e
parent 10876 c676856eafa7
child 10878 fa974e035729
Improve ICMPv6 NS printing
src/internet/model/icmpv6-header.cc
--- a/src/internet/model/icmpv6-header.cc	Sat Aug 30 18:25:22 2014 +0200
+++ b/src/internet/model/icmpv6-header.cc	Sat Aug 30 18:19:25 2014 +0200
@@ -245,7 +245,7 @@
 void Icmpv6NS::Print (std::ostream& os) const
 {
   NS_LOG_FUNCTION (this << &os);
-  os << "( type = " << (uint32_t)GetType () << " (NS) code = " << (uint32_t)GetCode () << " checksum = " << (uint32_t)GetChecksum ()  << ")";
+  os << "( type = " << (uint32_t)GetType () << " (NS) code = " << (uint32_t)GetCode () << " target = " << m_target << " checksum = " << (uint32_t)GetChecksum ()  << ")";
 }
 
 uint32_t Icmpv6NS::GetSerializedSize () const