This commit is contained in:
Miek Gieben 2013-03-01 09:12:43 +01:00
parent e57fd3228a
commit 99d23ee4a7
1 changed files with 2 additions and 2 deletions

4
msg.go
View File

@ -1356,9 +1356,9 @@ func (dns *Msg) String() string {
}
// Len return the message length when in (un)compressed wire format.
// If dns.Compress is true compression is taken into account, currently
// If dns.Compress is true compression it is taken into account, currently
// this only counts owner name compression. There is no check for
// nil valued sections (allocated, but contains no RRs).
// nil valued sections (allocated, but contain no RRs).
func (dns *Msg) Len() int {
// Message header is always 12 bytes
l := 12