Actually announce listen port locally

This commit is contained in:
Jakob Borg 2014-05-16 16:28:52 +02:00
parent b60251b960
commit 40c750141a

View File

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