diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-14 14:29:58 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2008-01-14 14:29:58 +0000 |
commit | 94aa8b70f2e8cf7cf664d7c0e86a9ebc287010ef (patch) | |
tree | de139fdbb9e973ef407e47325a2867543ebcb53d /src | |
parent | c9de420557cdf546f09defbff3d5f682c01250aa (diff) | |
download | conntrack-tools-94aa8b70f2e8cf7cf664d7c0e86a9ebc287010ef.tar.gz conntrack-tools-94aa8b70f2e8cf7cf664d7c0e86a9ebc287010ef.zip |
set up the configuration flags when defaulting
Diffstat (limited to 'src')
-rw-r--r-- | src/run.c | 1 | ||||
-rw-r--r-- | src/sync-mode.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -92,6 +92,7 @@ int init(void) else { fprintf(stderr, "WARNING: No running mode specified. " "Defaulting to statistics mode.\n"); + CONFIG(flags) |= CTD_STATS_MODE; STATE(mode) = &stats_mode; } diff --git a/src/sync-mode.c b/src/sync-mode.c index 3bd6f59..16642c2 100644 --- a/src/sync-mode.c +++ b/src/sync-mode.c @@ -132,6 +132,7 @@ static int init_sync(void) else { fprintf(stderr, "WARNING: No synchronization mode specified. " "Defaulting to FT-FW mode.\n"); + CONFIG(flags) |= CTD_SYNC_FTFW; STATE_SYNC(sync) = &ftfw; } |