From f18f5918ff9b223a59a5a1b437b94a047bdd3b70 Mon Sep 17 00:00:00 2001 From: Claudius Zingerli Date: Mon, 7 Sep 2015 17:47:00 +0200 Subject: [PATCH] Added docs --- src/chrony.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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; -- 2.30.2