• Nicolas Owens's avatar
    net: fix LookupSRV ordering on plan 9 · 3319db4c
    Nicolas Owens authored
    lookup_plan9.go's lookupSRV is using the wrong order for srv results. order should be weight, priority, port, following the response from /net/dns:
    
      chi Aug  9 20:31:13 Rread tag 20 count 61 '_xmpp-client._tcp.offblast.org srv 5 0 5222 iota.offblast.org' 72
    
    R=golang-dev, bradfitz
    CC=ality, golang-dev, r, rsc
    https://golang.org/cl/12708043
    3319db4c
lookup_plan9.go 5.28 KB