summaryrefslogtreecommitdiff
path: root/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2021-06-21 09:13:55 +0200
committerMathieu Arnold <mat@FreeBSD.org>2021-06-21 09:53:33 +0200
commit9913ea5a5c4152467f7dedcc61dacd333f891008 (patch)
tree85aad5555d30a95f6ec66bab8052a5d89272817b /dns/bind9-devel/files/extrapatch-bind-min-override-ttl
parentlang/perl5-devel: Update to v5.35.1-20-gc5082864c7 (diff)
dns/bind9-devel: Update to latest commit
Diffstat (limited to 'dns/bind9-devel/files/extrapatch-bind-min-override-ttl')
-rw-r--r--dns/bind9-devel/files/extrapatch-bind-min-override-ttl12
1 files changed, 6 insertions, 6 deletions
diff --git a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
index 61636a10725a..fd5269fa1cdf 100644
--- a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+++ b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
@@ -1,8 +1,8 @@
Add the override-cache-ttl feature.
---- bin/named/config.c.orig 2021-05-25 05:27:59 UTC
+--- bin/named/config.c.orig 2021-06-18 07:21:27 UTC
+++ bin/named/config.c
-@@ -185,6 +185,7 @@ options {\n\
+@@ -179,6 +179,7 @@ options {\n\
notify-source *;\n\
notify-source-v6 *;\n\
nsec3-test-zone no;\n\
@@ -10,7 +10,7 @@ Add the override-cache-ttl feature.
provide-ixfr true;\n\
qname-minimization relaxed;\n\
query-source address *;\n\
---- bin/named/server.c.orig 2021-05-25 05:27:59 UTC
+--- bin/named/server.c.orig 2021-06-18 07:21:27 UTC
+++ bin/named/server.c
@@ -4456,6 +4456,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
}
@@ -24,7 +24,7 @@ Add the override-cache-ttl feature.
result = named_config_get(maps, "max-cache-ttl", &obj);
INSIST(result == ISC_R_SUCCESS);
view->maxcachettl = cfg_obj_asduration(obj);
---- lib/dns/include/dns/view.h.orig 2021-05-25 05:27:59 UTC
+--- lib/dns/include/dns/view.h.orig 2021-06-18 07:21:27 UTC
+++ lib/dns/include/dns/view.h
@@ -154,6 +154,7 @@ struct dns_view {
bool requestnsid;
@@ -34,7 +34,7 @@ Add the override-cache-ttl feature.
dns_ttl_t maxncachettl;
dns_ttl_t mincachettl;
dns_ttl_t minncachettl;
---- lib/dns/resolver.c.orig 2021-05-25 05:27:59 UTC
+--- lib/dns/resolver.c.orig 2021-06-18 07:21:27 UTC
+++ lib/dns/resolver.c
@@ -6387,6 +6387,12 @@ cache_name(fetchctx_t *fctx, dns_name_t *name, dns_mes
}
@@ -49,7 +49,7 @@ Add the override-cache-ttl feature.
* Enforce the configure maximum cache TTL.
*/
if (rdataset->ttl > res->view->maxcachettl) {
---- lib/isccfg/namedconf.c.orig 2021-05-25 05:27:59 UTC
+--- lib/isccfg/namedconf.c.orig 2021-06-18 07:21:27 UTC
+++ lib/isccfg/namedconf.c
@@ -2028,6 +2028,7 @@ static cfg_clausedef_t view_clauses[] = {
#endif /* ifdef HAVE_LMDB */