FreeBSD Bugzilla – Attachment 207923 Details for
Bug 240907
multimedia/libhdhomerun: not discovering devices after update to 20190621
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
apply FreeBSD-specific patch from 20190625 release
file_240907.txt (text/plain), 1.18 KB, created by
Daniel Becker
on 2019-09-28 18:06:32 UTC
(
hide
)
Description:
apply FreeBSD-specific patch from 20190625 release
Filename:
MIME Type:
Creator:
Daniel Becker
Created:
2019-09-28 18:06:32 UTC
Size:
1.18 KB
patch
obsolete
>--- hdhomerun_discover.c.orig 2019-06-20 14:44:00.000000000 -0700 >+++ hdhomerun_discover.c 2019-09-28 11:04:25.478122000 -0700 >@@ -183,7 +183,8 @@ > unsigned int i; > for (i = 1; i < ds->sock_count; i++) { > struct hdhomerun_discover_sock_t *dss = &ds->socks[i]; >- >+ uint32_t send_ip = target_ip; >+ > if (target_ip != 0xFFFFFFFF) { > if (dss->subnet_mask == 0) { > continue; >@@ -193,7 +194,18 @@ > } > } > >- result |= hdhomerun_discover_send_internal(ds, dss, target_ip, device_type, device_id); >+#if defined(IP_ONESBCAST) >+ /* FreeBSD special handling - send subnet broadcast */ >+ if (target_ip == 0xFFFFFFFF) { >+ send_ip = dss->local_ip | ~dss->subnet_mask; >+ >+ if ((send_ip == 0x00000000) || (send_ip == 0xFFFFFFFF)) { >+ continue; >+ } >+ } >+#endif >+ >+ result |= hdhomerun_discover_send_internal(ds, dss, send_ip, device_type, device_id); > } > > /*
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 240907
: 207923 |
207961