fixed ...
[senf.git] / senf / Packets / DefaultBundle / ICMPv6Packet.cc
index 66072db..8692539 100644 (file)
@@ -28,8 +28,8 @@
 
 // Custom includes
 #include <boost/io/ios_state.hpp>
-#include "../../Packets/DefaultBundle/IPv6Packet.hh"
-#include "../../Utils/IpChecksum.hh"
+#include <senf/Packets/DefaultBundle/IPv6Packet.hh>
+#include <senf/Utils/IpChecksum.hh>
 
 #define prefix_
 ///////////////////////////////cc.p////////////////////////////////////////
@@ -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////////////////////////////////////////