From: tho Date: Mon, 13 Jul 2009 10:07:22 +0000 (+0000) Subject: Packets/80221Bundle: just another fix for DynamicTLVLengthParser X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=8c6fd45554d96f218425b42512579f4bf476e23e;p=senf.git Packets/80221Bundle: just another fix for DynamicTLVLengthParser git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1270 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/80221Bundle/TLVPacket.cc b/Packets/80221Bundle/TLVPacket.cc index 0b94056..5a17ac7 100644 --- a/Packets/80221Bundle/TLVPacket.cc +++ b/Packets/80221Bundle/TLVPacket.cc @@ -72,7 +72,7 @@ prefix_ void senf::DynamicTLVLengthParser::value(value_type const & v) switch (bytes() ) { case 1: if (v > 128) throw( TLVLengthException()); - fixed_length_field() = v; + length_field() = v; return; case 2: if (v > UInt8Parser::max_value + 128) throw( TLVLengthException());