diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
commit | a86c5f7cae7ec9a3398300555a0b644689d946a1 (patch) | |
tree | 39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /epan/dissectors/packet-wlancertextn.c | |
parent | Releasing progress-linux version 4.2.6-1~progress7.99u1. (diff) | |
download | wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip |
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-wlancertextn.c')
-rw-r--r-- | epan/dissectors/packet-wlancertextn.c | 18 |
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, }; |