Documentation tweaks
This commit is contained in:
parent
c2ab7033c4
commit
9df1f9fb62
6
zone.go
6
zone.go
|
@ -497,8 +497,7 @@ func (node *ZoneData) Sign(next *ZoneData, keys map[*RR_DNSKEY]PrivateKey, keyta
|
||||||
defer node.Unlock()
|
defer node.Unlock()
|
||||||
|
|
||||||
bitmap := make([]uint16, 0)
|
bitmap := make([]uint16, 0)
|
||||||
r := false
|
r, n := false, false
|
||||||
n := false
|
|
||||||
for t, _ := range node.RR {
|
for t, _ := range node.RR {
|
||||||
if t == TypeRRSIG {
|
if t == TypeRRSIG {
|
||||||
r = true
|
r = true
|
||||||
|
@ -629,8 +628,7 @@ func jitterDuration(d time.Duration) time.Duration {
|
||||||
}
|
}
|
||||||
|
|
||||||
// compareLabels behaves exactly as CompareLabels expect that l1 is already
|
// compareLabels behaves exactly as CompareLabels expect that l1 is already
|
||||||
// a tokenize (in labels) version of the domain name. This safe memory and is
|
// a tokenize (in labels) version of the domain name. This saves memory and is faster.
|
||||||
// faster
|
|
||||||
func compareLabelsSlice(l1 []string, s2 string) (n int) {
|
func compareLabelsSlice(l1 []string, s2 string) (n int) {
|
||||||
l2 := SplitLabels(s2)
|
l2 := SplitLabels(s2)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue