Merge branch 'aram/dns-getdb-flags-fix' into 'main'
Fix the DNS_GETDB_STALEFIRST flag See merge request isc-projects/bind9!8683
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
6333. [bug] Fix the DNS_GETDB_STALEFIRST flag, which was defined
|
||||||
|
incorrectly in lib/ns/query.c. [GL !8683]
|
||||||
|
|
||||||
6332. [bug] Range-check the arguments to fetch-quota-param.
|
6332. [bug] Range-check the arguments to fetch-quota-param.
|
||||||
[GL #362]
|
[GL #362]
|
||||||
|
|
||||||
|
|||||||
+7
-5
@@ -196,11 +196,13 @@ client_trace(ns_client_t *client, int level, const char *message) {
|
|||||||
#define CCTRACE(l, m) ((void)m)
|
#define CCTRACE(l, m) ((void)m)
|
||||||
#endif /* WANT_QUERYTRACE */
|
#endif /* WANT_QUERYTRACE */
|
||||||
|
|
||||||
#define DNS_GETDB_NOEXACT 0x01U
|
enum {
|
||||||
#define DNS_GETDB_NOLOG 0x02U
|
DNS_GETDB_NOEXACT = 1 << 0,
|
||||||
#define DNS_GETDB_PARTIAL 0x04U
|
DNS_GETDB_NOLOG = 1 << 1,
|
||||||
#define DNS_GETDB_IGNOREACL 0x08U
|
DNS_GETDB_PARTIAL = 1 << 2,
|
||||||
#define DNS_GETDB_STALEFIRST 0X0CU
|
DNS_GETDB_IGNOREACL = 1 << 3,
|
||||||
|
DNS_GETDB_STALEFIRST = 1 << 4,
|
||||||
|
};
|
||||||
|
|
||||||
#define PENDINGOK(x) (((x) & DNS_DBFIND_PENDINGOK) != 0)
|
#define PENDINGOK(x) (((x) & DNS_DBFIND_PENDINGOK) != 0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user