fix: typo spelling grammar

Signed-off-by: slowy07 <slowy.arfy@gmail.com>
This commit is contained in:
slowy07
2021-08-24 21:36:48 +07:00
committed by Brad Fitzpatrick
parent 780e65a613
commit ac0353e982
12 changed files with 14 additions and 14 deletions

View File

@@ -334,7 +334,7 @@ func (r *Resolver) resolveLocal(domain dnsname.FQDN, typ dns.Type) (netaddr.IP,
case dns.TypeNS, dns.TypeSOA, dns.TypeAXFR, dns.TypeHINFO:
return netaddr.IP{}, dns.RCodeNotImplemented
// For everything except for the few types above that are explictly not implemented, return no records.
// For everything except for the few types above that are explicitly not implemented, return no records.
// This is what other DNS systems do: always return NOERROR
// without any records whenever the requested record type is unknown.
// You can try this with:

View File

@@ -49,7 +49,7 @@ type entry struct {
value interface{}
}
// Add adds a value to the cache, set or updating its assoicated
// Add adds a value to the cache, set or updating its associated
// value.
//
// If MaxEntries is non-zero and the length of the cache is greater

View File

@@ -362,7 +362,7 @@ func makeProbePlan(dm *tailcfg.DERPMap, ifState *interfaces.State, last *Report)
tries = 2
} else if hadBoth {
// For dual stack machines, make the 3rd & slower nodes alternate
// beetween.
// between.
if ri%2 == 0 {
do4, do6 = true, false
} else {