aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-frame.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-10-27 19:33:55 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-10-27 19:33:55 +0000
commitd8bbe9bda23f9c20ecff23b9cfa7d5df67a8ad1c (patch)
treeca39438188f491ac6ed91cb2bcdac422052d703b /epan/dissectors/packet-frame.c
parent69741d086b020a1578e25e386237f2a5a5e43124 (diff)
Do not reset pinfo->curr_layer_num in packet-frame.c
Before this change, curr_layer_num could be off by 1 depending on whether we generated items for Frame protocol or not, leading to a failure to get the UDP heuristic dissector identified during first pass svn path=/trunk/; revision=52897
Diffstat (limited to 'epan/dissectors/packet-frame.c')
-rw-r--r--epan/dissectors/packet-frame.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-frame.c b/epan/dissectors/packet-frame.c
index b1cab87b26..ad27194933 100644
--- a/epan/dissectors/packet-frame.c
+++ b/epan/dissectors/packet-frame.c
@@ -403,7 +403,6 @@ dissect_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
ti = proto_tree_add_boolean(fh_tree, hf_frame_ignored, tvb, 0, 0,pinfo->fd->flags.ignored);
PROTO_ITEM_SET_GENERATED(ti);
- pinfo->curr_layer_num = 0;
if(proto_field_is_referenced(tree, hf_frame_protocols)) {
/* we are going to be using proto_item_append_string() on
* hf_frame_protocols, and we must therefore disable the