From: Claudius Zingerli Date: Mon, 7 Sep 2015 15:47:00 +0000 (+0200) Subject: Added docs X-Git-Tag: collectd-5.6.0~258^2~10 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f18f5918ff9b223a59a5a1b437b94a047bdd3b70;p=collectd.git Added docs --- diff --git a/src/chrony.c b/src/chrony.c index dad0fd43..b3c72644 100644 --- a/src/chrony.c +++ b/src/chrony.c @@ -3,6 +3,12 @@ Internas roughly based on the ntpd plugin License: GPL2 */ +/* TODO: + * - More robust udp parsing (using offsets instead of structs?) + * - Plausibility checks on values received + * + * + */ /* getaddrinfo */ #include @@ -115,7 +121,7 @@ typedef struct ATTRIB_PACKED int16_t f_poll; uint16_t f_stratum; uint16_t f_state; - uint16_t f_mode; + uint16_t f_mode; uint16_t f_flags; uint16_t f_reachability;