snort: rename snort-config to packet-snort-config
I sometimes type too fast and 'epan/dissectors/s<TAB>' ends up into 'epan/dissectors/snort-config.' which is never intentional. Change-Id: I5bae7b303bbcc7057f15d5acfa9fa01610cd90ce Reviewed-on: https://code.wireshark.org/review/34926 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
8087bcbf6d
commit
89c9d90980
|
@ -1949,8 +1949,8 @@ set(DISSECTOR_SRC
|
|||
set(DISSECTOR_SUPPORT_SRC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/errno.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/packet-dcerpc-nt.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/packet-snort-config.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/usb.c
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/snort-config.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dissectors.c
|
||||
)
|
||||
source_group(dissector-support FILES ${DISSECTOR_SUPPORT_SRC})
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* snort-config.c
|
||||
/* packet-snort-config.c
|
||||
*
|
||||
* Copyright 2016, Martin Mathieson
|
||||
*
|
||||
|
@ -20,7 +20,7 @@
|
|||
#include <wsutil/strtoi.h>
|
||||
#include <wsutil/report_message.h>
|
||||
|
||||
#include "snort-config.h"
|
||||
#include "packet-snort-config.h"
|
||||
|
||||
/* Forward declaration */
|
||||
static void parse_config_file(SnortConfig_t *snort_config, FILE *config_file_fd, const char *filename, const char *dirname, int recursion_level);
|
|
@ -1,4 +1,4 @@
|
|||
/* snort-config.h
|
||||
/* packet-snort-config.h
|
||||
*
|
||||
* Copyright 2016, Martin Mathieson
|
||||
*
|
||||
|
@ -12,8 +12,8 @@
|
|||
|
||||
#include <glib.h>
|
||||
|
||||
#ifndef SNORT_CONFIG_H
|
||||
#define SNORT_CONFIG_H
|
||||
#ifndef __PACKET_SNORT_CONFIG_H__
|
||||
#define __PACKET_SNORT_CONFIG_H__
|
||||
|
||||
#include "ws_attributes.h"
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
#include <wsutil/report_message.h>
|
||||
#include <wiretap/wtap-int.h>
|
||||
|
||||
#include "snort-config.h"
|
||||
#include "packet-snort-config.h"
|
||||
|
||||
/* Forward declarations */
|
||||
void proto_register_snort(void);
|
||||
|
|
Loading…
Reference in New Issue