From 530eed5796faa5fd16c39743a4516bef0e26449c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 17 Sep 2009 16:10:43 +0200 Subject: conntrackd: fix return value in notrack_local() In 9406f29b89f6727c3db5485d109466701393b4d4, we added different return values for the UNIX sockets that we use to extract the daemon statistics. Unfortunately, I forgot to change this as well. This patch fixes a problem that blocks the client socket indefinitely. Signed-off-by: Pablo Neira Ayuso --- src/sync-notrack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sync-notrack.c b/src/sync-notrack.c index 6502bcd..14ecde5 100644 --- a/src/sync-notrack.c +++ b/src/sync-notrack.c @@ -77,7 +77,7 @@ static int do_cache_to_tx(void *data1, void *data2) static int notrack_local(int fd, int type, void *data) { - int ret = 1; + int ret = LOCAL_RET_OK; switch(type) { case REQUEST_DUMP: -- cgit v1.2.3