Packets/80221Bundle: just another fix for DynamicTLVLengthParser
tho [Mon, 13 Jul 2009 10:07:22 +0000 (10:07 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1270 270642c3-0616-0410-b53a-bc976706d245

Packets/80221Bundle/TLVPacket.cc

index 0b94056..5a17ac7 100644 (file)
@@ -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());