mirror of
https://github.com/syncthing/syncthing.git
synced 2026-09-12 22:19:17 -04:00
More local discovery URL debugging (ref #2444)
This commit is contained in:
1 parent
a45795efec
commit
ef0a0db07e
1 file changed
+1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user