[server] minor update to rename PCAP_ANY_DIRECTION -> ENABLE_PCAP_ANY_DIRECTION

This commit is contained in:
Michael Rash
2013-05-31 23:19:48 -04:00
parent 9b2cd9e2e5
commit 0f0f73636f
4 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -47,7 +47,7 @@ static char *config_map[NUMBER_OF_CONFIG_ENTRIES] = {
"PCAP_FILTER",
"PCAP_DISPATCH_COUNT",
"PCAP_LOOP_SLEEP",
"PCAP_ANY_DIRECTION",
"ENABLE_PCAP_ANY_DIRECTION",
"MAX_SNIFF_BYTES",
"ENABLE_SPA_PACKET_AGING",
"MAX_SPA_PACKET_AGE",
@@ -118,7 +118,7 @@ enum {
FW_FLUSH,
GPG_HOME_DIR,
PCAP_FILE,
PCAP_ANY_DIRECTION,
ENABLE_PCAP_ANY_DIRECTION,
ROTATE_DIGEST_CACHE,
NOOP /* Just to be a marker for the end */
};
@@ -149,7 +149,7 @@ static struct option cmd_opts[] =
{"override-config", 1, NULL, 'O' },
{"pcap-file", 1, NULL, PCAP_FILE },
{"pcap-filter", 1, NULL, 'P'},
{"pcap-any-direction", 0, NULL, PCAP_ANY_DIRECTION },
{"pcap-any-direction", 0, NULL, ENABLE_PCAP_ANY_DIRECTION },
{"pid-file", 1, NULL, 'p'},
{"restart", 0, NULL, 'R'},
{"status", 0, NULL, 'S'},
+1 -1
View File
@@ -836,7 +836,7 @@ config_init(fko_srv_options_t *opts, int argc, char **argv)
case PCAP_FILE:
set_config_entry(opts, CONF_PCAP_FILE, optarg);
break;
case PCAP_ANY_DIRECTION:
case ENABLE_PCAP_ANY_DIRECTION:
opts->pcap_any_direction = 1;
break;
case ROTATE_DIGEST_CACHE:
+1 -1
View File
@@ -138,7 +138,7 @@
# packets that are received on the sniffing interface (note that this is
# independent of promiscuous mode).
#
# PCAP_ANY_DIRECTION N;
# ENABLE_PCAP_ANY_DIRECTION N;
##############################################################################
# NOTE: The following EXTERNAL_CMD functionality is not yet implemented.
+2 -2
View File
@@ -87,7 +87,7 @@
#define DEF_PCAP_FILTER "udp port 62201"
#define DEF_PCAP_DISPATCH_COUNT "0"
#define DEF_PCAP_LOOP_SLEEP "100000" /* a tenth of a second (in microseconds) */
#define DEF_PCAP_ANY_DIRECTION "N"
#define DEF_ENABLE_PCAP_ANY_DIRECTION "N"
#define DEF_ENABLE_SPA_PACKET_AGING "Y"
#define DEF_MAX_SPA_PACKET_AGE "120"
#define DEF_ENABLE_DIGEST_PERSISTENCE "Y"
@@ -190,7 +190,7 @@ enum {
CONF_PCAP_FILTER,
CONF_PCAP_DISPATCH_COUNT,
CONF_PCAP_LOOP_SLEEP,
CONF_PCAP_ANY_DIRECTION,
CONF_ENABLE_PCAP_ANY_DIRECTION,
CONF_MAX_SNIFF_BYTES,
CONF_ENABLE_SPA_PACKET_AGING,
CONF_MAX_SPA_PACKET_AGE,