Merge branch 'master' of github.com:miekg/dns
This commit is contained in:
commit
070a02c253
|
@ -63,7 +63,7 @@ func main() {
|
|||
go func() {
|
||||
err := dns.ListenAndServe(":8053", "udp", nil)
|
||||
if err != nil {
|
||||
log.Fatal("Failed to set tcp listener %s\n", err.Error())
|
||||
log.Fatal("Failed to set udp listener %s\n", err.Error())
|
||||
}
|
||||
}()
|
||||
sig := make(chan os.Signal)
|
||||
|
|
|
@ -86,8 +86,8 @@ func SplitLabels(s string) []string {
|
|||
|
||||
// CompareLabels compares the names s1 and s2 and
|
||||
// returns how many labels they have in common starting from the right.
|
||||
// The comparison stops at the first inequality. The labels are not downcased
|
||||
// before the comparison.
|
||||
// The comparison stops at the first inequality. The labels are not lower cased
|
||||
// before the comparison, the caller should take care of this.
|
||||
//
|
||||
// www.miek.nl. and miek.nl. have two labels in common: miek and nl
|
||||
// www.miek.nl. and www.bla.nl. have one label in common: nl
|
||||
|
|
Loading…
Reference in New Issue