summaryrefslogtreecommitdiff
path: root/asn1/h245/h245.cnf
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-09-06 15:05:26 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-09-06 15:05:26 +0000
commitfa889d6d785964453b3eb9d8fd009a2895bf7f85 (patch)
tree8530283c3be08a86b39a57dd8cc62fa492aaef35 /asn1/h245/h245.cnf
parent71cb9d69d2fd21763b520933dda5e50683380bc1 (diff)
downloadwireshark-fa889d6d785964453b3eb9d8fd009a2895bf7f85.tar.gz
From Liam Sharp:
(Standard)H.239 – subMessageIdentifier value strings missing from H245 dissector. Modified to be filterable. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6312 svn path=/trunk/; revision=38897
Diffstat (limited to 'asn1/h245/h245.cnf')
-rw-r--r--asn1/h245/h245.cnf11
1 files changed, 10 insertions, 1 deletions
diff --git a/asn1/h245/h245.cnf b/asn1/h245/h245.cnf
index 11c9f54f7f..5636b79e96 100644
--- a/asn1/h245/h245.cnf
+++ b/asn1/h245/h245.cnf
@@ -623,9 +623,18 @@ if (h245_pi != NULL)
#.FN_BODY GenericMessage/subMessageIdentifier VAL_PTR = &subMessageIdentifer
guint32 subMessageIdentifer;
gef_ctx_t *gefx;
+
+ gefx = gef_ctx_get(actx->private_data);
+ if (gefx) {
+ /* If this is a standard generic message use hf_h245_subMessageIdentifier_standard to get
+ * the value translated and make it fileterable.
+ */
+ if (strcmp("GenericMessage/0.0.8.239.2", gefx->key) == 0) {
+ hf_index = hf_h245_subMessageIdentifier_standard;
+ }
+ }
%(DEFAULT_BODY)s
- gefx = gef_ctx_get(actx->private_data);
if (gefx) gefx->subid = ep_strdup_printf("%%u", subMessageIdentifer);
#.END