alsmith / multicast-relay

Relay multicast and broadcast packets between interfaces.
GNU General Public License v3.0
304 stars 47 forks source link

latest commit broken #75

Closed itiligent closed 1 year ago

itiligent commented 1 year ago

Hi,

Thanks for your handy script.

OS: Openwrt 22.03.5 / python3-light & python3-netifaces installed. (no need to follow th eold OWRT instructions for python2.7 it seems)

The previous commit 2c0e4c7 seems to work fine, but latest commit 030451 "additional mechanism for Sonos to dissover itself" returns the following ...

python /root/multicast-relay.py --interfaces br-lan br-iot

Traceback (most recent call last): File "/root/multicast-relay.py", line 1030, in sys.exit(main()) File "/root/multicast-relay.py", line 959, in main relays.add(('%s:%d' % (PacketRelay.BROADCAST, '1900'), 'Sonos Discovery')) TypeError: %d format: a real number is required, not str

alsmith commented 1 year ago

Sorry about that - fixed.