projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2376 from zerkms/ISSUE-2358
[collectd.git]
/
src
/
ntpd.c
diff --git
a/src/ntpd.c
b/src/ntpd.c
index
84512d2
..
ed3c042
100644
(file)
--- a/
src/ntpd.c
+++ b/
src/ntpd.c
@@
-883,6
+883,12
@@
static int ntpd_read(void) {
continue;
}
continue;
}
+ // `0.0.0.0` hosts are caused by POOL servers
+ // see https://github.com/collectd/collectd/issues/2358
+ if (strcmp(peername, "0.0.0.0") == 0) {
+ continue;
+ }
+
refclock_id = ntpd_get_refclock_id(ptr);
/* Convert the `long floating point' offset value to double */
refclock_id = ntpd_get_refclock_id(ptr);
/* Convert the `long floating point' offset value to double */