9bef003
From 20848d8284951481051f6ebdeb8128c05c7e82e2 Mon Sep 17 00:00:00 2001
9bef003
From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
9bef003
Date: Mon, 11 Nov 2019 16:56:52 +0100
9bef003
Subject: [PATCH] Move stale_ttl from middle to the end
9bef003
9bef003
bind-dyndb-ldap is using rdataset structure. Do not modify its body,
9bef003
move stale_ttl to the end. Make it binary compatible.
9bef003
---
9bef003
 lib/dns/include/dns/rdataset.h | 10 +++++-----
9bef003
 1 file changed, 5 insertions(+), 5 deletions(-)
9bef003
9bef003
diff --git a/lib/dns/include/dns/rdataset.h b/lib/dns/include/dns/rdataset.h
9bef003
index 97071ed496..a0c6afe624 100644
9bef003
--- a/lib/dns/include/dns/rdataset.h
9bef003
+++ b/lib/dns/include/dns/rdataset.h
9bef003
@@ -137,11 +137,6 @@ struct dns_rdataset {
9bef003
 	dns_rdataclass_t		rdclass;
9bef003
 	dns_rdatatype_t			type;
9bef003
 	dns_ttl_t			ttl;
9bef003
-	/*
9bef003
-	 * Stale ttl is used to see how long this RRset can still be used
9bef003
-	 * to serve to clients, after the TTL has expired.
9bef003
-	 */
9bef003
-	dns_ttl_t			stale_ttl;
9bef003
 	dns_trust_t			trust;
9bef003
 	dns_rdatatype_t			covers;
9bef003
 
9bef003
@@ -178,6 +173,11 @@ struct dns_rdataset {
9bef003
 	void *				private7;
9bef003
 	/*@}*/
9bef003
 
9bef003
+	/*
9bef003
+	 * Stale ttl is used to see how long this RRset can still be used
9bef003
+	 * to serve to clients, after the TTL has expired.
9bef003
+	 */
9bef003
+	dns_ttl_t			stale_ttl;
9bef003
 };
9bef003
 
9bef003
 /*!
9bef003
-- 
9bef003
2.20.1
9bef003