diff options
author | Anders Broman <anders.broman@ericsson.com> | 2009-12-15 06:31:18 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2009-12-15 06:31:18 +0000 |
commit | 393a236663c6a9646fe50c4ce6fe4f6a078483c5 (patch) | |
tree | f153e481cd1cd08bfd369779fc6c71eb64552021 /asn1/inap | |
parent | 07f9348849048380a33d3f9fac1e735dc119d19b (diff) | |
download | wireshark-393a236663c6a9646fe50c4ce6fe4f6a078483c5.tar.gz wireshark-393a236663c6a9646fe50c4ce6fe4f6a078483c5.tar.bz2 wireshark-393a236663c6a9646fe50c4ce6fe4f6a078483c5.zip |
From Vasil Velichkov:
Bug 4330 - Add dissection of HighLayerCompatibility parameter in CAMEL/INAP InitialDP operation.
svn path=/trunk/; revision=31272
Diffstat (limited to 'asn1/inap')
-rw-r--r-- | asn1/inap/inap.cnf | 13 | ||||
-rw-r--r-- | asn1/inap/packet-inap-template.c | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/asn1/inap/inap.cnf b/asn1/inap/inap.cnf index 6bffe6af71..1d84b6eaba 100644 --- a/asn1/inap/inap.cnf +++ b/asn1/inap/inap.cnf @@ -288,6 +288,19 @@ dissect_isup_called_party_number_parameter(parameter_tvb, tree, NULL); return offset; dissect_isup_redirecting_number_parameter(parameter_tvb, tree, NULL); +#.FN_BODY HighLayerCompatibility VAL_PTR = ¶meter_tvb +/* + * -- Indicates the teleservice. For encoding, DSS1 (Q.931) is used. + */ + tvbuff_t *parameter_tvb; + proto_tree *subtree; +%(DEFAULT_BODY)s + + if (!parameter_tvb) + return offset; + + subtree = proto_item_add_subtree(actx->created_item, ett_inap_HighLayerCompatibility); + dissect_q931_high_layer_compat_ie(parameter_tvb, 0, tvb_length_remaining(parameter_tvb,0), subtree); #.TYPE_ATTR CallingPartysCategory TYPE = FT_UINT16 DISPLAY = BASE_DEC STRINGS = VALS(isup_calling_partys_category_value) diff --git a/asn1/inap/packet-inap-template.c b/asn1/inap/packet-inap-template.c index 9cafc19f6f..38ef917943 100644 --- a/asn1/inap/packet-inap-template.c +++ b/asn1/inap/packet-inap-template.c @@ -76,6 +76,7 @@ static int inap_opcode_type; /* Initialize the subtree pointers */ static gint ett_inap = -1; static gint ett_inapisup_parameter = -1; +static gint ett_inap_HighLayerCompatibility = -1; #include "packet-inap-ett.c" #include "packet-inap-table.c" @@ -201,6 +202,7 @@ void proto_register_inap(void) { static gint *ett[] = { &ett_inap, &ett_inapisup_parameter, + &ett_inap_HighLayerCompatibility, #include "packet-inap-ettarr.c" }; |