diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-12-18 09:51:49 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-12-18 09:51:49 +0000 |
commit | 2dbe8bb2ac6156de44bad6539f0f5bb5e126b580 (patch) | |
tree | 3c75a2f3523ce8f30428a475386e876d8a9cdbee /epan/dissectors/packet-h245.c | |
parent | 255f856ec11cd39a0ac7cf2cfee8c5310360742b (diff) |
fix bug 2112
svn path=/trunk/; revision=23915
Diffstat (limited to 'epan/dissectors/packet-h245.c')
-rw-r--r-- | epan/dissectors/packet-h245.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/epan/dissectors/packet-h245.c b/epan/dissectors/packet-h245.c index 9ce6ac9cde..f16d809077 100644 --- a/epan/dissectors/packet-h245.c +++ b/epan/dissectors/packet-h245.c @@ -14120,6 +14120,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); } @@ -14142,6 +14146,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) @@ -19749,7 +19758,7 @@ void proto_register_h245(void) { "h245.EncryptedAlphanumeric", HFILL }}, /*--- End of included file: packet-h245-hfarr.c ---*/ -#line 414 "packet-h245-template.c" +#line 423 "packet-h245-template.c" }; /* List of subtrees */ @@ -20252,7 +20261,7 @@ void proto_register_h245(void) { &ett_h245_MobileMultilinkReconfigurationIndication, /*--- End of included file: packet-h245-ettarr.c ---*/ -#line 421 "packet-h245-template.c" +#line 430 "packet-h245-template.c" }; module_t *h245_module; |