mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
More local discovery URL debugging (ref #2444)
This commit is contained in:
parent
a45795efec
commit
ef0a0db07e
@ -215,6 +215,7 @@ func (c *localClient) registerDevice(src net.Addr, device Device) bool {
|
||||
continue
|
||||
}
|
||||
u.Host = net.JoinHostPort(host, strconv.Itoa(tcpAddr.Port))
|
||||
l.Debugf("discover: Reconstructed URL is %#v", u)
|
||||
validAddresses = append(validAddresses, u.String())
|
||||
l.Debugf("discover: Replaced address %v in %s to get %s", tcpAddr.IP, addr.URL, u.String())
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user