X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2F80221Bundle%2FTLVPacket.cc;h=b2746765b63dc9c67ce48acd9a8ac084c413f1b0;hb=82e794070d4f3ae8aacb1827b21a93b9d48ce57f;hp=56de029f017b800d200bc379acf613dafa3e6f1a;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Packets/80221Bundle/TLVPacket.cc b/senf/Packets/80221Bundle/TLVPacket.cc index 56de029..b274676 100644 --- a/senf/Packets/80221Bundle/TLVPacket.cc +++ b/senf/Packets/80221Bundle/TLVPacket.cc @@ -146,7 +146,7 @@ prefix_ void senf::DynamicTLVLengthParser::finalize() if (b != 3) resize(3); return; } - if (v <= UInt24Parser::max_value + 128 ){ + if (v <= UInt24Parser::max_value + 128 ) { if (b != 4) resize(4); return; } @@ -210,9 +210,9 @@ prefix_ void senf::GenericTLVPacketType::dump(packet p, std::ostream & os) boost::io::ios_all_saver ias(os); os << "GenericTLVPacket:\n" << std::dec - << " type : " << unsigned( p->type()) << "\n" - << " length : " << unsigned( p->length()) << "\n" - << " value\n : "; + << senf::fieldName("type") << unsigned( p->type()) << "\n" + << senf::fieldName("length") << unsigned( p->length()) << "\n" + << " value:\n"; senf::hexdump( p->value().begin(), p->value().end(), os); }