From 80038f22302cf68cc42c9f356d94a386a7f97348 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Sun, 26 Aug 2012 22:40:00 +0200 Subject: [PATCH] docs --- dns.go | 2 +- types.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dns.go b/dns.go index c2d7b44e..d8f73156 100644 --- a/dns.go +++ b/dns.go @@ -120,7 +120,7 @@ type RR interface { } // DNS resource records. -// There are many types of messages, +// There are many types of RRs, // but they all share the same header. type RR_Header struct { Name string `dns:"cdomain-name"` diff --git a/types.go b/types.go index b53f9e54..47b64f90 100644 --- a/types.go +++ b/types.go @@ -1149,7 +1149,7 @@ type RR_NSEC3PARAM struct { Flags uint8 Iterations uint16 SaltLength uint8 - Salt string `dns:"hex"` // hexsize?? + Salt string `dns:"hex"` } func (rr *RR_NSEC3PARAM) Header() *RR_Header { @@ -1204,7 +1204,7 @@ func (rr *RR_TKEY) Copy() RR { return &RR_TKEY{*rr.Hdr.CopyHeader(), rr.Algorithm, rr.Inception, rr.Expiration, rr.Mode, rr.Error, rr.KeySize, rr.Key, rr.OtherLen, rr.OtherData} } -// Unknown RR representation +// RR_RFC3597 representes an unknown RR. type RR_RFC3597 struct { Hdr RR_Header Rdata string `dns:"hex"`