diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-02-13 21:48:26 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-02-13 21:48:26 +0100 |
commit | c6a4bdb9ea086ba48b000777f35090559f86c962 (patch) | |
tree | 1e219c29770ce92595d731db693d5c312fe31b6f /src/udp.c | |
parent | bbcdcc5fc45606081b41191b32891215f7f134e6 (diff) | |
download | conntrack-tools-c6a4bdb9ea086ba48b000777f35090559f86c962.tar.gz conntrack-tools-c6a4bdb9ea086ba48b000777f35090559f86c962.zip |
local: don't override initial return value
The return initial value is overriden after the initial read. Don't
override this value, instead we check the return value of the read()
operation.
This patch also changes the error statistics accounting since we
consider that a request with no data is an error.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/udp.c')
0 files changed, 0 insertions, 0 deletions