aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2007-11-04 22:18:59 +0000
committerAnders Broman <anders.broman@ericsson.com>2007-11-04 22:18:59 +0000
commit8676c5cd9f92480aea1047003eb5ff1a78681dbf (patch)
tree1e953426beddd946b887b0e06e64f26bfaa3ec6e /epan
parentf6ba48b9fcc5202d159f158bd27c1dfa77dc53d3 (diff)
Update do use the -X and -T asn2wrs flags.
svn path=/trunk/; revision=23365
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-wlancertextn.c16
-rw-r--r--epan/dissectors/packet-wlancertextn.h2
2 files changed, 6 insertions, 12 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;
}
diff --git a/epan/dissectors/packet-wlancertextn.h b/epan/dissectors/packet-wlancertextn.h
index dbb5510f82..d1c6a482b6 100644
--- a/epan/dissectors/packet-wlancertextn.h
+++ b/epan/dissectors/packet-wlancertextn.h
@@ -1,7 +1,7 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-wlancertextn.h */
-/* ../../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.h */