projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afba26d
)
turn off automatic local port enabling if all ports summary is set
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
8fbc1a4
..
7c427e5
100644
(file)
--- a/
src/tcpconns.c
+++ b/
src/tcpconns.c
@@
-744,7
+744,7
@@
static int conn_config (const char *key, const char *value)
#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);