From 7241baac2992fc20e7942fe019272eb4c7ed6ad6 Mon Sep 17 00:00:00 2001 From: Claudius Zingerli Date: Mon, 7 Sep 2015 17:09:26 +0200 Subject: [PATCH] Fixed packet struct offsets --- src/chrony.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2