Fix the constnames

This commit is contained in:
Miek Gieben 2011-01-01 20:51:34 +01:00
parent dc56e5e4ff
commit aeb1ce8d9c
2 changed files with 2 additions and 2 deletions

2
msg.go
View File

@ -115,7 +115,7 @@ var opcode_str = map[int]string{
// Map of strings for rcode
var rcode_str = map[int]string{
RcodeSuccess: "NOERROR",
RocdeFormatError: "FORMERR",
RcodeFormatError: "FORMERR",
RcodeServerFailure: "SERVFAIL",
RcodeNameError: "NXDOMAIN",
RcodeNotImplemented: "NOTIMPL",

View File

@ -97,7 +97,7 @@ const (
OpcodeStatus = 2
// There is no 3
OpcodeNotify = 4
OpcodeUpdate = 4
OpcodeUpdate = 5
)
// The wire format for the DNS packet header.