updated ListOptionTypeParser and unittests, fixed error in ICMP packet
[senf.git] / senf / Packets / DefaultBundle / ICMPv6Packet.cc
index 42a48bd..8692539 100644 (file)
@@ -74,9 +74,9 @@ prefix_ void senf::ICMPv6PacketType::dump(packet p, std::ostream &os)
 {
     boost::io::ios_all_saver ias(os);
     os << "ICMPv6 protocol:\n"
-       <<     "  type                    : " << p->type() <<"\n"
-       <<     "  code                    : " << p->code() <<"\n"
-       <<     "  checksum                : " << p->checksum() << "\n";
+       <<     "  type                    : " << (unsigned) p->type() <<"\n"
+       <<     "  code                    : " << (unsigned) p->code() <<"\n"
+       <<     "  checksum                : " << (unsigned) p->checksum() << "\n";
 }
 
 ///////////////////////////////cc.e////////////////////////////////////////