diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-09-17 16:10:43 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-09-17 16:10:43 +0200 |
commit | 530eed5796faa5fd16c39743a4516bef0e26449c (patch) | |
tree | 8ab1855ed05d1e0db0e77f9c8d9b20340cc05e87 /src/sync-notrack.c | |
parent | 189dbc5853ce73448ca0d2423bbac3aa23712478 (diff) | |
download | conntrack-tools-530eed5796faa5fd16c39743a4516bef0e26449c.tar.gz conntrack-tools-530eed5796faa5fd16c39743a4516bef0e26449c.zip |
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 <pablo@netfilter.org>
Diffstat (limited to 'src/sync-notrack.c')
-rw-r--r-- | src/sync-notrack.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |