diff options
author | Anders Broman <anders.broman@ericsson.com> | 2008-04-23 05:16:53 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2008-04-23 05:16:53 +0000 |
commit | 1638e46df2abde295c84a33286d9cab84fa2ea4c (patch) | |
tree | 051ff6a9119b98828061e0205acd76720dda9e1a /asn1/camel | |
parent | 1d5cb5ff645a8235f129a1a82b1fe0d243372679 (diff) | |
download | wireshark-1638e46df2abde295c84a33286d9cab84fa2ea4c.tar.gz wireshark-1638e46df2abde295c84a33286d9cab84fa2ea4c.tar.bz2 wireshark-1638e46df2abde295c84a33286d9cab84fa2ea4c.zip |
From Vasil Velichkov:
Fix dissection of Location and Generic Number in CAMEL
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2494
svn path=/trunk/; revision=25149
Diffstat (limited to 'asn1/camel')
-rw-r--r-- | asn1/camel/camel.cnf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/asn1/camel/camel.cnf b/asn1/camel/camel.cnf index c5d4510335..10105dce01 100644 --- a/asn1/camel/camel.cnf +++ b/asn1/camel/camel.cnf @@ -276,6 +276,30 @@ dissect_isup_called_party_number_parameter(parameter_tvb, tree, NULL); #.END #---------------------------------------------------------------------------------------- +#.FN_BODY LocationNumber VAL_PTR = ¶meter_tvb + tvbuff_t *parameter_tvb; + +%(DEFAULT_BODY)s + + if (!parameter_tvb) + return offset; + +dissect_isup_location_number_parameter(parameter_tvb, tree, NULL); +#.END + +#---------------------------------------------------------------------------------------- +#.FN_BODY GenericNumber VAL_PTR = ¶meter_tvb + tvbuff_t *parameter_tvb; + +%(DEFAULT_BODY)s + + if (!parameter_tvb) + return offset; + +dissect_isup_generic_number_parameter(parameter_tvb, tree, NULL); +#.END + +#---------------------------------------------------------------------------------------- #.FN_BODY Cause VAL_PTR = ¶meter_tvb tvbuff_t *parameter_tvb; |