Code

Fixed packet struct offsets
authorClaudius Zingerli <gitmail@zeuz.ch>
Mon, 7 Sep 2015 15:09:26 +0000 (17:09 +0200)
committerClaudius Zingerli <gitmail@zeuz.ch>
Fri, 29 Apr 2016 15:34:30 +0000 (17:34 +0200)
src/chrony.c

index c39c48bed08a583a8abead1693f4f78538df969c..dad0fd437fae6f034bcddaccb284b191ee9bc783 100644 (file)
@@ -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;