diff options
author | Anders Broman <anders.broman@ericsson.com> | 2007-11-04 22:18:59 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2007-11-04 22:18:59 +0000 |
commit | 8676c5cd9f92480aea1047003eb5ff1a78681dbf (patch) | |
tree | 1e953426beddd946b887b0e06e64f26bfaa3ec6e /epan/dissectors/packet-wlancertextn.c | |
parent | f6ba48b9fcc5202d159f158bd27c1dfa77dc53d3 (diff) |
Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23365
Diffstat (limited to 'epan/dissectors/packet-wlancertextn.c')
-rw-r--r-- | epan/dissectors/packet-wlancertextn.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/epan/dissectors/packet-wlancertextn.c b/epan/dissectors/packet-wlancertextn.c index 9faec532f2..99c8088408 100644 --- a/epan/dissectors/packet-wlancertextn.c +++ b/epan/dissectors/packet-wlancertextn.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-wlancertextn.c */ -/* ../../tools/asn2wrs.py -b -p wlancertextn -c wlancertextn.cnf -s packet-wlancertextn-template WLANCERTEXTN.asn */ +/* ../../tools/asn2wrs.py -b -X -T -p wlancertextn -c wlancertextn.cnf -s packet-wlancertextn-template WLANCERTEXTN.asn */ /* Input file: packet-wlancertextn-template.c */ @@ -77,9 +77,6 @@ static gint ett_wlancertextn_SSIDList = -1; /*--- Included file: packet-wlancertextn-fn.c ---*/ #line 1 "packet-wlancertextn-fn.c" -/*--- Fields for imported types ---*/ - - static int @@ -89,19 +86,16 @@ dissect_wlancertextn_SSID(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offs return offset; } -static int dissect_SSIDList_item(proto_tree *tree _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_) { - return dissect_wlancertextn_SSID(FALSE, tvb, offset, actx, tree, hf_wlancertextn_SSIDList_item); -} -static const ber_old_sequence_t SSIDList_sequence_of[1] = { - { BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_SSIDList_item }, +static const ber_sequence_t SSIDList_sequence_of[1] = { + { &hf_wlancertextn_SSIDList_item, BER_CLASS_UNI, BER_UNI_TAG_OCTETSTRING, BER_FLAGS_NOOWNTAG, dissect_wlancertextn_SSID }, }; static int dissect_wlancertextn_SSIDList(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { - offset = dissect_ber_old_sequence_of(implicit_tag, actx, tree, tvb, offset, - SSIDList_sequence_of, hf_index, ett_wlancertextn_SSIDList); + offset = dissect_ber_sequence_of(implicit_tag, actx, tree, tvb, offset, + SSIDList_sequence_of, hf_index, ett_wlancertextn_SSIDList); return offset; } |