summaryrefslogtreecommitdiff
path: root/asn1/h248/h248.cnf
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-11-07 19:25:59 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-11-07 19:25:59 +0000
commit8d8af34ba442122f4d9c9aab6b959ba6d1b19d7b (patch)
treee3aa58eaafe9c9e4b49f976da184b308644618cd /asn1/h248/h248.cnf
parentad3c10a20a50bad81a5b0f9b65849f4ac253500f (diff)
downloadwireshark-8d8af34ba442122f4d9c9aab6b959ba6d1b19d7b.tar.gz
Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1206
MEGACO message cannot be decoded correctly for ServiceChange Command And decoding of serviceChangeReason. svn path=/trunk/; revision=19861
Diffstat (limited to 'asn1/h248/h248.cnf')
-rw-r--r--asn1/h248/h248.cnf11
1 files changed, 11 insertions, 0 deletions
diff --git a/asn1/h248/h248.cnf b/asn1/h248/h248.cnf
index f5aa0ab66b..36d4f49d5b 100644
--- a/asn1/h248/h248.cnf
+++ b/asn1/h248/h248.cnf
@@ -266,6 +266,17 @@ IndAudStatisticsDescriptor/statName iAStatName
}
#.END
+
+#.FN_BODY SCreasonValueOctetStr VAL_PTR = &parameter_tvb
+
+ tvbuff_t *parameter_tvb;
+ %(DEFAULT_BODY)s
+
+ if (!parameter_tvb)
+ return offset;
+
+ dissect_h248_ServiceChangeReasonStr(FALSE, parameter_tvb, 0, pinfo _U_, tree, hf_h248_serviceChangeReasonStr);
+
#.TYPE_ATTR
IP4Address/address TYPE = FT_IPv4 DISPLAY = BASE_NONE STRINGS = NULL
IP6Address/address TYPE = FT_IPv6 DISPLAY = BASE_NONE STRINGS = NULL