FreeBSD Bugzilla – Attachment 191763 Details for
Bug 226884
net/minidlna setsockopt with interface index breaks sending of IGMP membership report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
very crude patch
minissdp.c.patch (text/plain), 497 bytes, created by
ascherrer+fbdb
on 2018-03-23 22:50:03 UTC
(
hide
)
Description:
very crude patch
Filename:
MIME Type:
Creator:
ascherrer+fbdb
Created:
2018-03-23 22:50:03 UTC
Size:
497 bytes
patch
obsolete
>--- minissdp.c.orig 2018-03-23 22:44:24.595300000 +0100 >+++ minissdp.c 2018-03-23 23:28:27.721041000 +0100 >@@ -65,8 +65,12 @@ > /* setting up imr structure */ > memset(&imr, '\0', sizeof(imr)); > imr.imr_multiaddr.s_addr = inet_addr(SSDP_MCAST_ADDR); >+#if __FreeBSD__ < 7 > imr.imr_ifindex = iface->ifindex; > #else >+ imr.imr_address.s_addr = iface->addr.s_addr; >+#endif >+#else > struct ip_mreq imr; /* Ip multicast membership */ > /* setting up imr structure */ > memset(&imr, '\0', sizeof(imr));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 226884
: 191763