if I try the homebrewNetifaces instead, I get the following error:
Nov-25 22:30:52 multicast-relay.py INFO: Adding multicast relay for 239.255.90.90:APP_PORT
Traceback (most recent call last):
File "multicast-relay.py", line 1014, in <module>
sys.exit(main())
File "multicast-relay.py", line 1009, in main
packetRelay.addListener(addr, port, relay[1])
File "multicast-relay.py", line 287, in addListener
(ifname, mac, ip, netmask, broadcast) = self.getInterface(interface)
File "multicast-relay.py", line 723, in getInterface
if interface in self.nif.interfaces():
File "multicast-relay.py", line 104, in interfaces
ip = socket.inet_ntoa(fcntl.ioctl(socket.socket(socket.AF_INET, socket.SOCK_DGRAM), 0x8915, struct.pack('256s', str(name)))[20:24]) # SIOCGIFADDR
struct.error: argument for 's' must be a bytes object
I have an app sending multicast packets on 239.255.90.90. I can see the packets with tcpdump, but multicast-relay does not capture any packets...
if I try the
homebrewNetifaces
instead, I get the following error: