diff --git a/include/haproxy/resolvers-t.h b/include/haproxy/resolvers-t.h index 48bff0c73..2e53d918c 100644 --- a/include/haproxy/resolvers-t.h +++ b/include/haproxy/resolvers-t.h @@ -111,6 +111,7 @@ struct resolv_answer_item { uint16_t weight; /* SRV type weight */ uint16_t port; /* SRV type port */ uint16_t data_len; /* number of bytes in the field below */ + struct eb32_node link; /* linking node */ union { struct sockaddr_in in4; /* IPv4 address for RTYPE_A */ struct sockaddr_in6 in6; /* IPv6 address for RTYPE_AAAA */ @@ -119,7 +120,6 @@ struct resolv_answer_item { unsigned int last_seen; /* When was the answer was last seen */ struct resolv_answer_item *ar_item; /* pointer to a RRset from the additional section, if exists */ struct list attached_servers; /* attached server head */ - struct eb32_node link; /* linking node */ }; struct resolv_response {