]> git.ipfire.org Git - thirdparty/bind9.git/commit
Rename "staleonly"
authorMatthijs Mekking <matthijs@isc.org>
Mon, 29 Mar 2021 07:46:08 +0000 (09:46 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 2 Apr 2021 08:02:40 +0000 (10:02 +0200)
commit839df9419021e95b59a052aedf8e5c53b0700622
tree574d2a31030614bcf259b1fdac829cf49cc03c62
parent3f81d79ffbfc3eb5bd6bf7d8663af5ab705db53b
Rename "staleonly"

The dboption DNS_DBFIND_STALEONLY caused confusion because it implies
we are looking for stale data **only** and ignore any active RRsets in
the cache. Rename it to DNS_DBFIND_STALETIMEOUT as it is more clear
the option is related to a lookup due to "stale-answer-client-timeout".

Rename other usages of "staleonly", instead use "lookup due to...".
Also rename related function and variable names.
lib/dns/include/dns/db.h
lib/dns/rbtdb.c
lib/ns/query.c