Add the code, but does fit in the map anymore

This commit is contained in:
Miek Gieben 2013-04-27 17:02:28 +01:00
parent d075d4cad1
commit 8d0b1a32cf
2 changed files with 2 additions and 1 deletions

2
msg.go
View File

@ -184,7 +184,7 @@ var RcodeToString = map[int]string{
RcodeNotAuth: "NOTAUTH",
RcodeNotZone: "NOTZONE",
RcodeBadSig: "BADSIG",
RcodeBadVers: "BADVERS",
// RcodeBadVers: "BADVERS",
RcodeBadKey: "BADKEY",
RcodeBadTime: "BADTIME",
RcodeBadMode: "BADMODE",

View File

@ -110,6 +110,7 @@ const (
RcodeNotAuth = 9
RcodeNotZone = 10
RcodeBadSig = 16 // TSIG
RcodeBadVers = 16 // EDNS0
RcodeBadKey = 17
RcodeBadTime = 18
RcodeBadMode = 19 // TKEY