diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-25 20:36:54 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-25 20:36:54 +0200 |
commit | f152340a26912d090b5fd15be10208605929816b (patch) | |
tree | dab6a28719c6c815112fe1c3354a8b7942a90bfe /src/sync-mode.c | |
parent | ed49d60424a18635c31dafc77e2cb720f75cc4ff (diff) | |
download | conntrack-tools-f152340a26912d090b5fd15be10208605929816b.tar.gz conntrack-tools-f152340a26912d090b5fd15be10208605929816b.zip |
add best effort replication protocol (aka NOTRACK)
Diffstat (limited to 'src/sync-mode.c')
-rw-r--r-- | src/sync-mode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sync-mode.c b/src/sync-mode.c index 2fe7406..16cc70d 100644 --- a/src/sync-mode.c +++ b/src/sync-mode.c @@ -169,6 +169,8 @@ static int init_sync(void) STATE_SYNC(sync) = &sync_ftfw; else if (CONFIG(flags) & CTD_SYNC_ALARM) STATE_SYNC(sync) = &sync_alarm; + else if (CONFIG(flags) & CTD_SYNC_NOTRACK) + STATE_SYNC(sync) = &sync_notrack; else { fprintf(stderr, "WARNING: No synchronization mode specified. " "Defaulting to FT-FW mode.\n"); |