diff --git a/network.go b/network.go index a3c2265..602aff0 100644 --- a/network.go +++ b/network.go @@ -67,6 +67,11 @@ func localIPv4MCastAddrs() ([]string, error) { // Not IPv4. continue } + // Fix #33: consider NOT loopback IP addresses + if addr.IP.IsLoopback() { + // do not use local address + continue + } addrs = append(addrs, addr.IP.String()) } }