perform  test for multicast interfaces only on Linux and FreeBSD
@@ -371,6 +371,7 @@ class DiscoverSocket(socket.socket):
:rtype: bool
'''
+ if platform.system() in ['Linux', 'FreeBSD']:
SIOCGIFFLAGS = 0x8913
IFF_MULTICAST = 0x1000 # Supports multicast.
IFF_UP = 0x1 # Interface is up.
@@ -384,6 +385,8 @@ class DiscoverSocket(socket.socket):
if ((flags & IFF_MULTICAST) != 0) & ((flags & IFF_UP) != 0):
return True
return False
+ else:
+ return True
@staticmethod
def localifs():
