openairplay / airplay2-receiver

AirPlay 2 Receiver - Python implementation
2.15k stars 134 forks source link

Dont send undefined variable to register_mdns #62

Closed jacobericson closed 2 years ago

jacobericson commented 2 years ago

Because IP6ADDR_BIN isn't a global, if ifen.get(ni.AF_INET6) fails the variable is left undefined.

systemcrash commented 2 years ago

was meaning to get this seen to. Thanks.