From: Claudius Zingerli Date: Mon, 7 Sep 2015 15:09:26 +0000 (+0200) Subject: Fixed packet struct offsets X-Git-Tag: collectd-5.6.0~258^2~11 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7241baac2992fc20e7942fe019272eb4c7ed6ad6;p=collectd.git Fixed packet struct offsets --- diff --git a/src/chrony.c b/src/chrony.c index c39c48be..dad0fd43 100644 --- a/src/chrony.c +++ b/src/chrony.c @@ -111,12 +111,12 @@ typedef struct ATTRIB_PACKED typedef struct ATTRIB_PACKED { tChrony_IPAddr addr; + uint16_t dummy; /* FIXME: Strange dummy space. Needed on gcc 4.8.3 on x86_64 */ int16_t f_poll; uint16_t f_stratum; uint16_t f_state; uint16_t f_mode; uint16_t f_flags; - uint16_t dummy; /* FIXME: Strange dummy space. Needed on gcc 4.8.3 on x86_64 */ uint16_t f_reachability; uint32_t f_since_sample;