From fc3f9a1b962b5a7e16faddc53abc0d887340fcdc Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Mon, 18 Jan 2010 11:24:28 +0000 Subject: [PATCH] different structure alignment. git-svn-id: file:///svn/unbound/trunk@1959 be551aaa-1e26-0410-a405-d3ace91eadb9 --- util/data/msgreply.h | 3 +++ util/module.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/util/data/msgreply.h b/util/data/msgreply.h index 6210f079c..a8d59181f 100644 --- a/util/data/msgreply.h +++ b/util/data/msgreply.h @@ -129,6 +129,9 @@ struct reply_info { */ uint32_t prefetch_ttl; + /** 32 bit padding to pad struct member alignment to 64 bits. */ + uint32_t padding; + /** * The security status from DNSSEC validation of this message. */ diff --git a/util/module.h b/util/module.h index d74a500c3..f2ff7b1be 100644 --- a/util/module.h +++ b/util/module.h @@ -301,8 +301,6 @@ struct module_qstate { struct regional* region; /** failure reason information if val-log-level is high */ struct config_strlist* errinf; - /** how many seconds before expiry is this prefetched (0 if not) */ - uint32_t prefetch_leeway; /** which module is executing */ int curmod; @@ -314,6 +312,8 @@ struct module_qstate { struct module_env* env; /** mesh related information for this query */ struct mesh_state* mesh_info; + /** how many seconds before expiry is this prefetched (0 if not) */ + uint32_t prefetch_leeway; }; /** -- 2.47.2