Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 364692 Details for
Bug 493414
net-misc/minidlna always listens on 0.0.0.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
force listening on user configured address
minidlna.patch (text/plain), 463 bytes, created by
Mike Blumenkrantz
on 2013-12-06 02:16:39 UTC
(
hide
)
Description:
force listening on user configured address
Filename:
MIME Type:
Creator:
Mike Blumenkrantz
Created:
2013-12-06 02:16:39 UTC
Size:
463 bytes
patch
obsolete
>--- minidlna-1.1.0/minidlna.c 2013-04-30 17:09:30.000000000 -0400 >+++ minidlna/minidlna.c 2013-12-05 21:00:35.000000000 -0500 >@@ -124,7 +124,7 @@ > memset(&listenname, 0, sizeof(struct sockaddr_in)); > listenname.sin_family = AF_INET; > listenname.sin_port = htons(port); >- listenname.sin_addr.s_addr = htonl(INADDR_ANY); >+ listenname.sin_addr.s_addr = lan_addr[0].addr.s_addr; > > if (bind(s, (struct sockaddr *)&listenname, sizeof(struct sockaddr_in)) < 0) > {
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 493414
: 364692