From 552c8c6f01d3844d27e3e2c7667f7efd4e156d7b Mon Sep 17 00:00:00 2001 From: tho <tho@wiback.org> Date: Mon, 13 Jul 2009 10:07:22 +0000 Subject: [PATCH] Packets/80221Bundle: just another fix for DynamicTLVLengthParser --- Packets/80221Bundle/TLVPacket.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packets/80221Bundle/TLVPacket.cc b/Packets/80221Bundle/TLVPacket.cc index 0b9405625..5a17ac7e5 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()); -- GitLab