mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-08 22:31:04 +00:00
Actually announce listen port locally
This commit is contained in:
parent
b60251b960
commit
40c750141a
@ -398,6 +398,8 @@ func resolveAddrs(addrs []string) []Address {
|
||||
addr := addrToAddr(addrRes)
|
||||
if len(addr.IP) > 0 {
|
||||
raddrs = append(raddrs, addr)
|
||||
} else {
|
||||
raddrs = append(raddrs, Address{Port: addr.Port})
|
||||
}
|
||||
}
|
||||
return raddrs
|
||||
|
Loading…
Reference in New Issue
Block a user