Add some more TODOs to Pack and kill the println
This closes #46 (for now :-) )
This commit is contained in:
parent
5f6228d4cc
commit
a317648fa3
2
msg.go
2
msg.go
|
@ -1343,6 +1343,8 @@ func (dns *Msg) Unpack(msg []byte) (err error) {
|
|||
}
|
||||
if off != len(msg) {
|
||||
// TODO(miek) make this an error?
|
||||
// use PackOpt to let people tell how detailed the error reporting
|
||||
// should be?
|
||||
// println("dns: extra bytes in dns packet", off, "<", len(msg))
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue