Skip to content

Commit

Permalink
Fix TCPDialer is not setting ZoneID
Browse files Browse the repository at this point in the history
Fixes #724
  • Loading branch information
erikdubbelboer committed Jan 12, 2020
1 parent 59b28fe commit 03813ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tcpdialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ func resolveTCPAddrs(addr string, dualStack bool, resolver Resolver) ([]net.TCPA
addrs = append(addrs, net.TCPAddr{
IP: ip.IP,
Port: port,
Zone: ip.Zone,
})
}
if len(addrs) == 0 {
Expand Down

0 comments on commit 03813ae

Please sign in to comment.