mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-25 06:03:37 +03:00
[PR #11368] fix: bind auto-discovery to multicast ip on macOS #12866
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11368
State: closed
Merged: Yes
Changes
This PR make the auto discovery bind to the multicast IP instead of the unicast IP on macOS like Linux. Unlike Linux, macOS does not require(and actually does not allow) bind to 255.255.255.255 to receive broadcast packets.
This PR also modified the responder IP of the auto-discovery. Instead of using the
.255multicast IP as the responder, use the explicit unicast IP that the server is listen on. This is because:Issues