summaryrefslogtreecommitdiff
path: root/src/sync-mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sync-mode.c')
-rw-r--r--src/sync-mode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sync-mode.c b/src/sync-mode.c
index 8a19ac5..7cd2b84 100644
--- a/src/sync-mode.c
+++ b/src/sync-mode.c
@@ -126,11 +126,11 @@ static int init_sync(void)
}
memset(state.sync, 0, sizeof(struct ct_sync_state));
- if (CONFIG(flags) & SYNC_MODE_NACK)
- STATE_SYNC(sync) = &nack;
+ if (CONFIG(flags) & SYNC_MODE_FTFW)
+ STATE_SYNC(sync) = &ftfw;
else
- /* default to persistent mode */
- STATE_SYNC(sync) = &notrack;
+ /* default to ftfw mode */
+ STATE_SYNC(sync) = &ftfw;
if (STATE_SYNC(sync)->init)
STATE_SYNC(sync)->init();