mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
resolve: fix typo in DNS_EDE_RCODE_PROHIBITIED constant name
Drop the extra `I` and rename the constant to DNS_EDE_RCODE_PROHIBITED in accordance with the error code string.
This commit is contained in:
committed by
Lennart Poettering
parent
6640466cec
commit
9379b23be3
@@ -2979,7 +2979,7 @@ static const char* const dns_ede_rcode_table[_DNS_EDE_RCODE_MAX_DEFINED] = {
|
||||
[DNS_EDE_RCODE_BLOCKED] = "Blocked",
|
||||
[DNS_EDE_RCODE_CENSORED] = "Censored",
|
||||
[DNS_EDE_RCODE_FILTERED] = "Filtered",
|
||||
[DNS_EDE_RCODE_PROHIBITIED] = "Prohibited",
|
||||
[DNS_EDE_RCODE_PROHIBITED] = "Prohibited",
|
||||
[DNS_EDE_RCODE_STALE_NXDOMAIN_ANSWER] = "Stale NXDOMAIN Answer",
|
||||
[DNS_EDE_RCODE_NOT_AUTHORITATIVE] = "Not Authoritative",
|
||||
[DNS_EDE_RCODE_NOT_SUPPORTED] = "Not Supported",
|
||||
|
||||
@@ -335,7 +335,7 @@ enum {
|
||||
DNS_EDE_RCODE_BLOCKED = 15, /* RFC 8914, Section 4.16 */
|
||||
DNS_EDE_RCODE_CENSORED = 16, /* RFC 8914, Section 4.17 */
|
||||
DNS_EDE_RCODE_FILTERED = 17, /* RFC 8914, Section 4.18 */
|
||||
DNS_EDE_RCODE_PROHIBITIED = 18, /* RFC 8914, Section 4.19 */
|
||||
DNS_EDE_RCODE_PROHIBITED = 18, /* RFC 8914, Section 4.19 */
|
||||
DNS_EDE_RCODE_STALE_NXDOMAIN_ANSWER = 19, /* RFC 8914, Section 4.20 */
|
||||
DNS_EDE_RCODE_NOT_AUTHORITATIVE = 20, /* RFC 8914, Section 4.21 */
|
||||
DNS_EDE_RCODE_NOT_SUPPORTED = 21, /* RFC 8914, Section 4.22 */
|
||||
|
||||
Reference in New Issue
Block a user