Browse Source

More local discovery URL debugging (ref #2444)

Jakob Borg 10 years ago
parent
commit
ef0a0db07e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/discover/local.go

+ 1 - 0
lib/discover/local.go

@@ -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 {