aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-01-30 22:52:09 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-01-30 22:52:09 +0000
commitc9ea62712c2125d811c270890e7561ddb25e1985 (patch)
tree60e58dcc989268554dd4a33b7f4d63ea17c0783b /asn1
parent750e036e4c1e176fb1239dc04fd0d0b39fa2c041 (diff)
Fix bug 1328 and related bugs found when examining the trace.
svn path=/trunk/; revision=20634
Diffstat (limited to 'asn1')
-rw-r--r--asn1/h248/packet-h248-template.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/asn1/h248/packet-h248-template.c b/asn1/h248/packet-h248-template.c
index 5d5515171f..da7d47da30 100644
--- a/asn1/h248/packet-h248-template.c
+++ b/asn1/h248/packet-h248-template.c
@@ -329,6 +329,7 @@ static const value_string event_name_vals[] = {
{ 0x000c0001, "rtp, Payload Transition" },
{ 0x00210000, "Generic Bearer Connection Q.1950 Annex A" },
{ 0x00210001, "GB/BNCChange" },
+ { 0x00220001, "BT/TIND (Tunnel Indication)" },
{ 0x002a0001, "H.245/h245msg (Incoming H.245 Message)" },
{ 0x002a0004, "H.245/h245ChC (H.245 Channel Closed)" },
{ 0x00450000, "Inactivity Timer H.248.14" },
@@ -810,10 +811,12 @@ dissect_h248_EventName(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_
if (name_major == pkg->id) {
break;
+ } else {
+ pkg = NULL;
}
}
- if (!pkg->hfid) pkg = &no_package;
+ if (! pkg ) pkg = &no_package;
curr_info.pkg = pkg;