aboutsummaryrefslogtreecommitdiff
path: root/nDPIsrvd.c
diff options
context:
space:
mode:
Diffstat (limited to 'nDPIsrvd.c')
-rw-r--r--nDPIsrvd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nDPIsrvd.c b/nDPIsrvd.c
index 37894be88..6451fbce0 100644
--- a/nDPIsrvd.c
+++ b/nDPIsrvd.c
@@ -1209,7 +1209,7 @@ static int handle_incoming_data(int epollfd, struct remote_desc * const current)
}
if (bytes_read == 0)
{
- logger_nDPIsrvd(0, "Collector connection", "closed during read");
+ logger_nDPIsrvd(current, "Collector connection", "closed during read");
disconnect_client(epollfd, current);
return 1;
}