clean ups

This commit is contained in:
Miek Gieben 2012-02-23 19:49:47 +01:00
parent 89c05b4f74
commit 6dd212088e
2 changed files with 1 additions and 3 deletions

View File

@ -7,8 +7,6 @@ need to be fixed.
* go test; only work correct on my machine
* Add handy zone data structure (r/b tree)? Or not...
* Use the Exchange structure to deal with errors when resolving, esp. Timeout
* SaltLength in NSEC3 is ugly to set, should be automatically done. There are prolly a few more
settings just like that -- need to look at them. edns' NSID is another
* Add tsig check in 'q'?
## Examples to add

View File

@ -651,7 +651,7 @@ func setNSEC3(h RR_Header, c chan lex, o, f string) (RR, *ParseError) {
}
<-c
l = <-c
rr.SaltLength = uint8(len(l.token))
rr.SaltLength = uint8(len(l.token))/2 // TODO: token cannot be 0?
rr.Salt = l.token
<-c