aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorРоман Донченко <dpb@corrigendum.ru>2018-04-13 00:35:04 +0300
committerGuy Harris <guy@alum.mit.edu>2018-05-08 04:51:56 +0000
commit76a29d7855f52c4c6d9bcb9747ebe285a4e85b27 (patch)
tree561ebc5290677971577af45c286cbda07ef96aad
parentf7a660ec285c6ea5371137eb4b3b16f2e9626c70 (diff)
wiretap: make open_info_base[] const
Change-Id: I1e0099d5301f08ee500f17529d6cc3733d3c9a4f Reviewed-on: https://code.wireshark.org/review/27392 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--wiretap/file_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c
index 2d7d941df1..f3a61bbb6a 100644
--- a/wiretap/file_access.c
+++ b/wiretap/file_access.c
@@ -323,7 +323,7 @@ wtap_get_all_capture_file_extensions_list(void)
* If your file format has an expected extension (e.g., ".pcap") then you
* should probably also add it to file_type_extensions_base[] (in this file).
*/
-static struct open_info open_info_base[] = {
+static const struct open_info open_info_base[] = {
{ "Wireshark/tcpdump/... - pcap", OPEN_INFO_MAGIC, libpcap_open, "pcap", NULL, NULL },
{ "Wireshark/... - pcapng", OPEN_INFO_MAGIC, pcapng_open, "pcapng", NULL, NULL },
{ "Sniffer (DOS)", OPEN_INFO_MAGIC, ngsniffer_open, NULL, NULL, NULL },