summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: afba26d)
raw | patch | inline | side by side (parent: afba26d)
author | Marek Becka <marek.becka@superhosting.cz> | |
Fri, 22 Nov 2013 15:36:46 +0000 (16:36 +0100) | ||
committer | Marek Becka <marek.becka@superhosting.cz> | |
Fri, 22 Nov 2013 15:36:46 +0000 (16:36 +0100) |
src/tcpconns.c | patch | blob | history |
diff --git a/src/tcpconns.c b/src/tcpconns.c
index 8fbc1a48a676de89a30715f4c7bd1742b8180948..7c427e5f940b1a018e25b50533c5d1fd978689db 100644 (file)
--- a/src/tcpconns.c
+++ b/src/tcpconns.c
#if KERNEL_LINUX
static int conn_init (void)
{
- if (port_list_head == NULL)
+ if (port_collect_total == 0 && port_list_head == NULL)
port_collect_listening = 1;
return (0);