aboutsummaryrefslogtreecommitdiff
path: root/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-09-17 11:59:30 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-09-17 11:59:30 +0000
commit68c134bfe045eb4bcf3bb0a318c4fd6a75879110 (patch)
tree7a08a226c33bc01f02e7a9e19cb025b03efb18da /dns/bind9-devel/files/extrapatch-bind-min-override-ttl
parenta68a772ff946ab9ae6767d5ffd43b44d235d5254 (diff)
Notes
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 2e0a406c1b19..573fa3e3f2b0 100644
--- a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+++ b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
@@ -1,4 +1,4 @@
---- bin/named/config.c.orig 2018-09-10 00:21:25 UTC
+--- bin/named/config.c.orig 2018-09-11 19:56:29 UTC
+++ bin/named/config.c
@@ -174,12 +174,14 @@ options {\n\
max-recursion-queries 75;\n\
@@ -15,9 +15,9 @@
provide-ixfr true;\n\
qname-minimization relaxed;\n\
query-source address *;\n\
---- bin/named/server.c.orig 2018-09-10 00:21:25 UTC
+--- bin/named/server.c.orig 2018-09-11 19:56:29 UTC
+++ bin/named/server.c
-@@ -4074,6 +4074,16 @@ configure_view(dns_view_t *view, dns_vie
+@@ -4075,6 +4075,16 @@ configure_view(dns_view_t *view, dns_vie
}
obj = NULL;
@@ -34,7 +34,7 @@
result = named_config_get(maps, "max-cache-ttl", &obj);
INSIST(result == ISC_R_SUCCESS);
view->maxcachettl = cfg_obj_asuint32(obj);
---- lib/dns/include/dns/view.h.orig 2018-09-10 00:21:25 UTC
+--- lib/dns/include/dns/view.h.orig 2018-09-11 19:56:29 UTC
+++ lib/dns/include/dns/view.h
@@ -153,6 +153,8 @@ struct dns_view {
bool requestnsid;
@@ -45,7 +45,7 @@
dns_ttl_t maxncachettl;
uint32_t nta_lifetime;
uint32_t nta_recheck;
---- lib/dns/resolver.c.orig 2018-09-10 00:21:25 UTC
+--- lib/dns/resolver.c.orig 2018-09-11 19:56:29 UTC
+++ lib/dns/resolver.c
@@ -5758,6 +5758,18 @@ cache_name(fetchctx_t *fctx, dns_name_t
}
@@ -66,7 +66,7 @@
* Enforce the configure maximum cache TTL.
*/
if (rdataset->ttl > res->view->maxcachettl) {
---- lib/isccfg/namedconf.c.orig 2018-09-10 00:21:25 UTC
+--- lib/isccfg/namedconf.c.orig 2018-09-11 19:56:29 UTC
+++ lib/isccfg/namedconf.c
@@ -1920,6 +1920,8 @@ view_clauses[] = {
{ "max-acache-size", &cfg_type_sizenodefault,