diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2022-04-22 17:08:33 +0200 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2022-04-22 17:55:52 +0200 |
commit | 7a9f416ffa1347d643f753b9c7fe183cdd77ce34 (patch) | |
tree | 6f1a5e13d9f95c47d65a3bfde4bfbf8f3339e9d5 /dns/bind9-devel/files/extrapatch-bind-min-override-ttl | |
parent | dns/bind918: upgrade to 9.18.2 (diff) |
dns/bind9-devel: upgrade 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-ttl | 12 |
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 cc78d545b34d..d36105468e9f 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 2022-04-08 10:15:26 UTC +--- bin/named/config.c.orig 2022-04-22 13:42:53 UTC +++ bin/named/config.c @@ -181,6 +181,7 @@ options {\n\ notify-source *;\n\ @@ -10,9 +10,9 @@ Add the override-cache-ttl feature. parental-source *;\n\ parental-source-v6 *;\n\ provide-ixfr true;\n\ ---- bin/named/server.c.orig 2022-04-08 10:15:26 UTC +--- bin/named/server.c.orig 2022-04-22 13:42:53 UTC +++ bin/named/server.c -@@ -4488,6 +4488,11 @@ configure_view(dns_view_t *view, dns_viewlist_t *viewl +@@ -4505,6 +4505,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 2022-04-08 10:15:26 UTC +--- lib/dns/include/dns/view.h.orig 2022-04-22 13:42:53 UTC +++ lib/dns/include/dns/view.h @@ -155,6 +155,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 2022-04-08 10:15:26 UTC +--- lib/dns/resolver.c.orig 2022-04-22 13:42:53 UTC +++ lib/dns/resolver.c @@ -6113,6 +6113,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 2022-04-08 10:15:26 UTC +--- lib/isccfg/namedconf.c.orig 2022-04-22 13:42:53 UTC +++ lib/isccfg/namedconf.c @@ -2093,6 +2093,7 @@ static cfg_clausedef_t view_clauses[] = { #endif /* ifdef HAVE_LMDB */ |