summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wlancertextn.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-wlancertextn.c')
-rw-r--r--epan/dissectors/packet-wlancertextn.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/epan/dissectors/packet-wlancertextn.c b/epan/dissectors/packet-wlancertextn.c
index ab4fcd2e..e4aab9ec 100644
--- a/epan/dissectors/packet-wlancertextn.c
+++ b/epan/dissectors/packet-wlancertextn.c
@@ -1,7 +1,7 @@
/* Do not modify this file. Changes will be overwritten. */
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-wlancertextn.c */
-/* asn2wrs.py -b -L -p wlancertextn -c ./wlancertextn.cnf -s ./packet-wlancertextn-template -D . -O ../.. WLANCERTEXTN.asn */
+/* asn2wrs.py -b -q -L -p wlancertextn -c ./wlancertextn.cnf -s ./packet-wlancertextn-template -D . -O ../.. WLANCERTEXTN.asn */
/* packet-wlancertextn.c
* Routines for Wireless Certificate Extension (RFC3770)
@@ -20,6 +20,8 @@
#include <epan/oids.h>
#include <epan/asn1.h>
+#include <wsutil/array.h>
+
#include "packet-ber.h"
#include "packet-wlancertextn.h"
#include "packet-x509af.h"
@@ -34,12 +36,12 @@ void proto_register_wlancertextn(void);
void proto_reg_handoff_wlancertextn(void);
/* Initialize the protocol and registered fields */
-static int proto_wlancertextn = -1;
-static int hf_wlancertextn_SSIDList_PDU = -1; /* SSIDList */
-static int hf_wlancertextn_SSIDList_item = -1; /* SSID */
+static int proto_wlancertextn;
+static int hf_wlancertextn_SSIDList_PDU; /* SSIDList */
+static int hf_wlancertextn_SSIDList_item; /* SSID */
/* Initialize the subtree pointers */
-static gint ett_wlancertextn_SSIDList = -1;
+static int ett_wlancertextn_SSIDList;
@@ -69,8 +71,8 @@ dissect_wlancertextn_SSIDList(bool implicit_tag _U_, tvbuff_t *tvb _U_, int offs
static int dissect_SSIDList_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
int offset = 0;
asn1_ctx_t asn1_ctx;
- asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
- offset = dissect_wlancertextn_SSIDList(FALSE, tvb, offset, &asn1_ctx, tree, hf_wlancertextn_SSIDList_PDU);
+ asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, true, pinfo);
+ offset = dissect_wlancertextn_SSIDList(false, tvb, offset, &asn1_ctx, tree, hf_wlancertextn_SSIDList_PDU);
return offset;
}
@@ -92,7 +94,7 @@ void proto_register_wlancertextn(void) {
};
/* List of subtrees */
- static gint *ett[] = {
+ static int *ett[] = {
&ett_wlancertextn_SSIDList,
};