diff --git a/msg.go b/msg.go index 2f25c1d1..dcc7d267 100644 --- a/msg.go +++ b/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