diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-06-26 05:48:50 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-06-26 05:48:50 +0000 |
commit | 3a51ba4293f6d98309471aeee7f2b1010c96b7cb (patch) | |
tree | 1bfaf8b92a640262162e7f0432a43a84d0381e6d /asn1/ftam | |
parent | cc3b0df4caeb0c7ba1e168e5b91837e1c5243929 (diff) | |
download | wireshark-3a51ba4293f6d98309471aeee7f2b1010c96b7cb.tar.gz |
make dissect_ber_choice take a guint* that will return the
index of the branch taken or -1 to make prettifications easier to implement.
change the signature of dissect_ber_choice and rename it to dissect_ber_CHOICE to catch all
occurences of the use of this function
update asn2eth to use the new name/signature
update all occurences of this function to the new name and new signature.
svn path=/trunk/; revision=14758
Diffstat (limited to 'asn1/ftam')
-rwxr-xr-x | asn1/ftam/ftam.cnf | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/asn1/ftam/ftam.cnf b/asn1/ftam/ftam.cnf index 4a8df93ae6..935058fefe 100755 --- a/asn1/ftam/ftam.cnf +++ b/asn1/ftam/ftam.cnf @@ -629,8 +629,8 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); - offset = dissect_ber_choice(pinfo, tree, tvb, offset, - Password_choice, hf_index, ett_ftam_Password); + offset = dissect_ber_CHOICE(pinfo, tree, tvb, offset, + Password_choice, hf_index, ett_ftam_Password, NULL); #.FN_BODY FADU-Identity @@ -645,8 +645,8 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); - offset = dissect_ber_choice(pinfo, tree, tvb, offset, - FADU_Identity_choice, hf_index, ett_ftam_FADU_Identity); + offset = dissect_ber_CHOICE(pinfo, tree, tvb, offset, + FADU_Identity_choice, hf_index, ett_ftam_FADU_Identity, NULL); #.FN_BODY Operation-Result gint8 class; @@ -660,6 +660,6 @@ Legal-Qualification-Attribute/actual-values actual_values9 offset = get_ber_identifier(tvb, offset, &class, &pc, &tag); offset = get_ber_length(tree, tvb, offset, &len1, &ind_field); - offset = dissect_ber_choice(pinfo, tree, tvb, offset, - Operation_Result_choice, hf_index, ett_ftam_Operation_Result); + offset = dissect_ber_CHOICE(pinfo, tree, tvb, offset, + Operation_Result_choice, hf_index, ett_ftam_Operation_Result, NULL); |