projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7241baa
)
Added docs
author
Claudius Zingerli
<gitmail@zeuz.ch>
Mon, 7 Sep 2015 15:47:00 +0000
(17:47 +0200)
committer
Claudius Zingerli
<gitmail@zeuz.ch>
Fri, 29 Apr 2016 15:34:30 +0000
(17:34 +0200)
src/chrony.c
patch
|
blob
|
history
diff --git
a/src/chrony.c
b/src/chrony.c
index
dad0fd4
..
b3c7264
100644
(file)
--- 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 <sys/types.h>
@@
-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;