summaryrefslogtreecommitdiff
path: root/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2021-03-22 15:14:04 +0000
committerMathieu Arnold <mat@FreeBSD.org>2021-03-22 15:14:04 +0000
commit059d02cb67e4f50dd3adc96ade0dc0a36a77ca29 (patch)
tree2f8415a18c0ff1a09c7d125879a28c685e7fd98d /dns/bind9-devel/files/extrapatch-bind-min-override-ttl
parentUpdate to v5.33.8-8-g3e25f6d2dc. (diff)
Update to latest commit.
Notes
Notes: svn path=/head/; revision=568968
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 ae2e6d65075d..6f0b0a092fa0 100644
--- a/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+++ b/dns/bind9-devel/files/extrapatch-bind-min-override-ttl
@@ -1,6 +1,6 @@
Add the override-cache-ttl feature.
---- bin/named/config.c.orig 2021-02-19 12:30:50 UTC
+--- bin/named/config.c.orig 2021-03-22 10:06:45 UTC
+++ bin/named/config.c
@@ -181,6 +181,7 @@ options {\n\
notify-source *;\n\
@@ -10,9 +10,9 @@ Add the override-cache-ttl feature.
provide-ixfr true;\n\
qname-minimization relaxed;\n\
query-source address *;\n\
---- bin/named/server.c.orig 2021-02-19 12:30:50 UTC
+--- bin/named/server.c.orig 2021-03-22 10:06:45 UTC
+++ bin/named/server.c
-@@ -4445,6 +4445,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
+@@ -4456,6 +4456,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl
}
obj = NULL;
@@ -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-02-19 12:30:50 UTC
+--- lib/dns/include/dns/view.h.orig 2021-03-22 10:06:45 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-02-19 12:30:50 UTC
+--- lib/dns/resolver.c.orig 2021-03-22 10:06:45 UTC
+++ lib/dns/resolver.c
@@ -6388,6 +6388,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-02-19 12:30:50 UTC
+--- lib/isccfg/namedconf.c.orig 2021-03-22 10:06:45 UTC
+++ lib/isccfg/namedconf.c
@@ -2024,6 +2024,7 @@ static cfg_clausedef_t view_clauses[] = {
#endif /* ifdef HAVE_LMDB */