This commit is contained in:
Miek Gieben 2012-02-11 17:43:05 +01:00
parent 82c178b2f7
commit 65c47368a9
1 changed files with 5 additions and 5 deletions

View File

@ -44,10 +44,10 @@ func setRR(h RR_Header, c chan lex, o, f string) (RR, *ParseError) {
case TypeSRV:
r, e = setSRV(h, c, o, f)
goto Slurp
case TypeDNSKEY:
// These types have a variable ending either chunks of txt or chunks/base64 or hex.
// They need to search for the end of the RR themselves, hence they look for the ending
// newline. Thus there is no need to slurp the remainder, because there is none.
case TypeDNSKEY:
return setDNSKEY(h, c, f)
case TypeRRSIG:
return setRRSIG(h, c, o, f)