summaryrefslogtreecommitdiff
path: root/src/sync-mode.c
diff options
context:
space:
mode:
authorGaurav Sinha <gaurav.sinha@vyatta.com>2012-07-31 10:25:05 -0700
committerGaurav Sinha <gaurav.sinha@vyatta.com>2012-07-31 10:25:05 -0700
commit0048c67d414381245942cd83410006d1dfea9c75 (patch)
tree0ed994a182a5c6d9db987fa0850636131081455e /src/sync-mode.c
parent8be58fa3856eb4f296a7166fd9b2b17b1bc5d40c (diff)
downloadconntrack-tools-0048c67d414381245942cd83410006d1dfea9c75.tar.gz
conntrack-tools-0048c67d414381245942cd83410006d1dfea9c75.zip
fixing 8243: fix will selectively flush the conntrack table on master, ignoring ignored addresses during flush
Diffstat (limited to 'src/sync-mode.c')
-rw-r--r--src/sync-mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync-mode.c b/src/sync-mode.c
index de90135..e69ecfe 100644
--- a/src/sync-mode.c
+++ b/src/sync-mode.c
@@ -305,7 +305,7 @@ static void do_reset_cache_alarm(struct alarm_block *a, void *data)
* meanwhile the parent process handles events. */
if (fork_process_new(CTD_PROC_FLUSH, CTD_PROC_F_EXCL,
NULL, NULL) == 0) {
- nl_flush_conntrack_table(STATE(flush));
+ nl_flush_conntrack_table_selective();
exit(EXIT_SUCCESS);
}
/* this is not required if events don't get lost */