From a4f64482f8ceab6daa8503ba50ea2ad66683b5b5 Mon Sep 17 00:00:00 2001 From: martinm Date: Thu, 8 Dec 2011 11:15:31 +0000 Subject: Skip correct number of bytes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40115 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-pdcp-lte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/dissectors/packet-pdcp-lte.c b/epan/dissectors/packet-pdcp-lte.c index 911480f909..635e4d5b8d 100644 --- a/epan/dissectors/packet-pdcp-lte.c +++ b/epan/dissectors/packet-pdcp-lte.c @@ -700,7 +700,7 @@ static int dissect_pdcp_dynamic_chain(proto_tree *tree, proto_tree_add_item(dynamic_ipv4_tree, hf_pdcp_lte_rohc_dynamic_ipv4_nbo, tvb, offset, 1, ENC_BIG_ENDIAN); /* TODO: general extension header list... */ - offset += 3; + offset++; /* Set proper length for subtree */ proto_item_set_len(root_ti, offset-tree_start_offset); -- cgit v1.2.3