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