diff --git a/Packets/80221Bundle/TLVPacket.cc b/Packets/80221Bundle/TLVPacket.cc index 0b9405625daaae79565919e7b089885ad220efee..5a17ac7e5e87540d55f87d8899fe2c6c69bf7d6b 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());