diff options
author | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-12-18 09:51:49 +0000 |
---|---|---|
committer | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-12-18 09:51:49 +0000 |
commit | eee5510fc72f027c4d6dc6e386cfa3931c194377 (patch) | |
tree | 3c75a2f3523ce8f30428a475386e876d8a9cdbee /asn1 | |
parent | 4603b7064dc1a36decda282d88b2212251d8757f (diff) |
fix bug 2112
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23915 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/h245/packet-h245-template.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/asn1/h245/packet-h245-template.c b/asn1/h245/packet-h245-template.c index 1e19c3ecc2..02a90f172d 100644 --- a/asn1/h245/packet-h245-template.c +++ b/asn1/h245/packet-h245-template.c @@ -366,6 +366,10 @@ dissect_h245_h245(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) guint32 offset=0; asn1_ctx_t asn1_ctx; + /* Clean up from any previous packet dissection */ + if (upcoming_channel) + upcoming_channel = NULL; + if (check_col(pinfo->cinfo, COL_PROTOCOL)){ col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME); } @@ -388,6 +392,11 @@ dissect_h245_h245(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) void dissect_h245_OpenLogicalChannelCodec(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, char *codec_str) { + + /* Clean up from any previous packet dissection */ + if (upcoming_channel) + upcoming_channel = NULL; + dissect_OpenLogicalChannel_PDU(tvb, pinfo, tree); if (h245_pi != NULL) |