diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2021-07-07 13:23:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 13:23:45 +0300 |
commit | 59394b5f9d8891cb59c42ac87fd8f0d41b28db94 (patch) | |
tree | f600bc11081534e8fc5188843a1bb16b9124ff7e /daemon | |
parent | cd7eafaf34bcfa1c75e6ad8562330912f9136f2c (diff) |
Add hop count for children (#11311)
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c index e040d70b3b..c0ba3cb105 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -1230,6 +1230,7 @@ int main(int argc, char **argv) { netdata_anonymous_statistics_enabled=-1; struct rrdhost_system_info *system_info = calloc(1, sizeof(struct rrdhost_system_info)); get_system_info(system_info); + system_info->hops = 0; if(rrd_init(netdata_configured_hostname, system_info)) fatal("Cannot initialize localhost instance with name '%s'.", netdata_configured_hostname); |