clean ups
This commit is contained in:
parent
89c05b4f74
commit
6dd212088e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue