Skip to content

Commit

Permalink
Removed p2p interfaces from broadcasting
Browse files Browse the repository at this point in the history
  • Loading branch information
djthorpe committed Mar 13, 2021
1 parent b5e5f18 commit 4fad023
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/mdns/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ func multicastInterfaces(iface net.Interface) ([]net.Interface, error) {
if (ifi.Flags & net.FlagMulticast) == 0 {
continue
}
if (ifi.Flags & net.FlagPointToPoint) != 0 {
continue
}
if addrs, err := ifi.MulticastAddrs(); err != nil || len(addrs) == 0 {
continue
}
Expand Down

0 comments on commit 4fad023

Please sign in to comment.