L2TP: Fix decoding of SC-TEI Map in Ericsson ALTCRQ

The SuperChannel-TEI maps in the Abis Lower Transport Config Request
were not properly displayed due to an erroneous additional offset
increment.

Change-Id: Ieebc43cd73f0c939daad2f853edeed854a12e5f5
Reviewed-on: https://code.wireshark.org/review/18463
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Harald Welte 2016-10-25 15:36:06 +02:00 committed by Michael Mann
parent 2eb823fed7
commit 7719bd5efa
1 changed files with 1 additions and 1 deletions

View File

@ -1768,7 +1768,7 @@ static int dissect_l2tp_ericsson_tei_sc_map(tvbuff_t *tvb, proto_tree *parent_tr
proto_tree *tree;
while (tvb_reported_length_remaining(tvb, offset) >= 3) {
tree = proto_tree_add_subtree_format(parent_tree, tvb, offset++, 3, ett_l2tp_ericsson_map,
tree = proto_tree_add_subtree_format(parent_tree, tvb, offset, 3, ett_l2tp_ericsson_map,
NULL, "Transport Config Bundling Group %u", i);
proto_tree_add_item(tree, hf_l2tp_ericsson_map_tei_low, tvb, offset++, 1, ENC_NA);
proto_tree_add_item(tree, hf_l2tp_ericsson_map_tei_high, tvb, offset++, 1, ENC_NA);