Skip to content

Commit

Permalink
fix: correct RCODE name from NOIMP to NOTIMP (#888)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard authored Dec 1, 2024
1 parent d95e25a commit 5365630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsutils/dns_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var (
259: "AMTRELAY", 32768: "TA", 32769: "DLV",
}
Rcodes = map[int]string{
0: "NOERROR", 1: "FORMERR", 2: "SERVFAIL", 3: "NXDOMAIN", 4: "NOIMP",
0: "NOERROR", 1: "FORMERR", 2: "SERVFAIL", 3: "NXDOMAIN", 4: "NOTIMP",
5: "REFUSED", 6: "YXDOMAIN", 7: "YXRRSET", 8: "NXRRSET", 9: "NOTAUTH",
10: "NOTZONE", 11: "DSOTYPENI", 16: "BADSIG", 17: "BADKEY",
18: "BADTIME", 19: "BADMODE", 20: "BADNAME", 21: "BADALG",
Expand Down

0 comments on commit 5365630

Please sign in to comment.