Add some more TODOs to Pack and kill the println

This closes #46 (for now :-) )
This commit is contained in:
Miek Gieben 2013-06-20 07:28:51 +01:00
parent 5f6228d4cc
commit a317648fa3
1 changed files with 2 additions and 0 deletions

2
msg.go
View File

@ -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