mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
avahi: remove disallow-other-stacks=yes
This was originally added because SO_REUSEPORT was not available on older kernels With this setting, avahi-daemon does not use either SO_REUSEADDR or SO_REUSEPORT, which means that other mDNS applications cannot access the multicast udp port 5353 at the same time. This includes mDNS clients which are simply trying to discover other services on the network. One such client exists in a PVR add-on I am writing for Kodi which currently fails in network discovery when run on LibreELEC. See also https://github.com/grandcat/zeroconf/issues/63 (cherry picked from commit 733eb8ff1458d7b2f2a06402ea5c6516209a313f)
This commit is contained in:
parent
c97f38e942
commit
b6e9a63684
@ -56,8 +56,6 @@ pre_configure_target() {
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
# for some reason avai can fail to start see: http://forums.gentoo.org/viewtopic-p-7322172.html#7322172
|
||||
sed -e "s,^.*disallow-other-stacks=.*$,disallow-other-stacks=yes,g" -i $INSTALL/etc/avahi/avahi-daemon.conf
|
||||
# disable wide-area
|
||||
sed -e "s,^.*enable-wide-area=.*$,enable-wide-area=no,g" -i $INSTALL/etc/avahi/avahi-daemon.conf
|
||||
# publish-hinfo
|
||||
|
Loading…
x
Reference in New Issue
Block a user