added TCPPacket implemented by Dennis.
[senf.git] / Packets / DefaultBundle / UDPPacket.cc
index f3cfc56..a985f24 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "UDPPacket.hh"
 //#include "UDPPacket.ih"
-#include "IPv4Packet.hh"
 
 // Custom includes
 #include <iomanip>
@@ -101,11 +100,11 @@ prefix_ void senf::UDPPacketType::dump(packet p, std::ostream & os)
 {
     boost::io::ios_all_saver ias(os);
     os << "UDP:\n"
-       << "  source port   : " << p->source() << "\n"
-       << "  dest port     : " << p->destination() << "\n"
-       << "  length        : " << p->length() << "\n"
-       << "  checksum      : " 
-         << std::hex << std::setw(4) << std::setfill('0') << p->checksum() << "\n";
+       <<     "  source port             : " << p->source() << "\n"
+       <<     "  dest port               : " << p->destination() << "\n"
+       <<     "  length                  : " << p->length() << "\n"
+       <<     "  checksum                : " 
+       << std::hex << std::setw(4) << std::setfill('0') << p->checksum() << "\n";
 }
 
 prefix_ void senf::UDPPacketType::finalize(packet p)