2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

remove nonfunctional DSCP implementation

DSCP has not been fully working since the network manager was
introduced in 9.16, and has been completely broken since 9.18.
This seems to have caused very few difficulties for anyone,
so we have now marked it as obsolete and removed the
implementation.

To ensure that old config files don't fail, the code to parse
dscp key-value pairs is still present, but a warning is logged
that the feature is obsolete and should not be used. Nothing is
done with configured values, and there is no longer any
range checking.
This commit is contained in:
Evan Hunt
2023-01-05 22:18:55 -08:00
parent f362cc0bf3
commit 916ea26ead
112 changed files with 405 additions and 2365 deletions

View File

@@ -1297,7 +1297,6 @@ new_adbaddrinfo(dns_adb_t *adb, dns_adbentry_t *entry, in_port_t port) {
*ai = (dns_adbaddrinfo_t){
.srtt = entry->srtt,
.flags = entry->flags,
.dscp = -1,
.publink = ISC_LINK_INITIALIZER,
.sockaddr = entry->sockaddr,
.entry = dns_adbentry_ref(entry),