diff options
| author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-31 17:11:40 +0200 | 
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-05-31 17:11:40 +0200 | 
| commit | 2a838790b8a545e95841cb216a7623b3d9560bce (patch) | |
| tree | 517d7325c954fce4b857b46218ba544d9260af6d /src | |
| parent | db4f1eb7b2c6cfa32ef76ba6be05d5ff9a2fca87 (diff) | |
| download | conntrack-tools-2a838790b8a545e95841cb216a7623b3d9560bce.tar.gz conntrack-tools-2a838790b8a545e95841cb216a7623b3d9560bce.zip | |
delay the closure of the dump descriptor to fix assertion with cache_wtconntrack-tools-0.9.7
Diffstat (limited to 'src')
| -rw-r--r-- | src/run.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| @@ -38,11 +38,13 @@ void killer(int foo)  	sigprocmask(SIG_BLOCK, &STATE(block), NULL);  	nfct_close(STATE(event)); -	nfct_close(STATE(dump));  	ignore_pool_destroy(STATE(ignore_pool));  	local_server_destroy(&STATE(local));  	STATE(mode)->kill(); + +	nfct_close(STATE(dump));	/* cache_wt needs this here */ +  	unlink(CONFIG(lockfile));  	dlog(LOG_NOTICE, "---- shutdown received ----");  	close_log(); | 
