Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Discovery fails with "can't broadcast discovery packet: No route to host" #2
On more pedantic systems (OpenBSD at the moment) with multiple interfaces the discovery will fail with this error.
This is because discovery packets aren't broadcasted properly: lightsd tries to send packets to 255.255.255.255 (
There is two solutions for that, I'll probably implement both and make them mutually exclusive:
I'm looking at implementing the first solution soonish, no ETA for the second solution since it requires more work as network interface discovery is OS-specific.
Anyway, thank you so much for the patch it's helpful and motivating, need to look at it and figure out the portability bits, maybe I'll integrate it just for Linux since it's better than nothing.