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>
This commit is contained in:
parent
f7a660ec28
commit
76a29d7855
@ -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 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user