aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-megaco.c
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2018-01-31 14:44:20 +0100
committerAnders Broman <a.broman58@gmail.com>2018-01-31 14:17:38 +0000
commit1e05b8c894d9a3699ffa22a21492d39634c8c8c3 (patch)
tree47021bc7f32c4efc3ff24e289b5e27c33989d4d7 /epan/dissectors/packet-megaco.c
parentf23feb339ea40192c05cb29a4123adcc67c9a918 (diff)
[MEGACO] Clear megaco_command between commands.
Change-Id: I62b9c9e192a6d5079c183a5b2e3ca7fa82c5bf39 Reviewed-on: https://code.wireshark.org/review/25528 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-megaco.c')
-rw-r--r--epan/dissectors/packet-megaco.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-megaco.c b/epan/dissectors/packet-megaco.c
index 175a49607a..8402423664 100644
--- a/epan/dissectors/packet-megaco.c
+++ b/epan/dissectors/packet-megaco.c
@@ -1108,6 +1108,7 @@ nextcontext:
}
megaco_tree_command_line = proto_tree_add_subtree(megaco_tree, tvb, tvb_command_start_offset, len+1, ett_megaco_command_line, &sub_ti, "Command: ");
+ megaco_command = MEGACO_CMD_NOT_SET;
/* creation of the megaco_tree_command_line additionally Command and Transaction ID will be printed in this line */
/* Changed to use the lines above. this code is saved if there is complaints
sub_ti = proto_tree_add_item(megaco_tree,hf_megaco_command_line,tvb,tvb_command_start_offset,tokenlen, ENC_UTF_8|ENC_NA);