diff options
Diffstat (limited to 'collectors/proc.plugin/proc_net_softnet_stat.c')
-rw-r--r-- | collectors/proc.plugin/proc_net_softnet_stat.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/collectors/proc.plugin/proc_net_softnet_stat.c b/collectors/proc.plugin/proc_net_softnet_stat.c index 2f01b88598..a225a9f0d5 100644 --- a/collectors/proc.plugin/proc_net_softnet_stat.c +++ b/collectors/proc.plugin/proc_net_softnet_stat.c @@ -24,7 +24,10 @@ int do_proc_net_softnet_stat(int update_every, usec_t dt) { static size_t allocated_lines = 0, allocated_columns = 0; static uint32_t *data = NULL; - if(unlikely(do_per_core == -1)) do_per_core = config_get_boolean("plugin:proc:/proc/net/softnet_stat", "softnet_stat per core", 1); + if (unlikely(do_per_core == -1)) { + do_per_core = + config_get_boolean("plugin:proc:/proc/net/softnet_stat", "softnet_stat per core", CONFIG_BOOLEAN_NO); + } if(unlikely(!ff)) { char filename[FILENAME_MAX + 1]; |