FreeBSD Bugzilla – Attachment 208279 Details for
Bug 241068
dns/dnsmasq: IPv4 TFTP broken on dnsmasq after FreeBSD 11.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
upstream fix attempt to get TFTP working
patch-dnsmasq (text/plain), 1.85 KB, created by
Matthias Andree
on 2019-10-13 15:10:03 UTC
(
hide
)
Description:
upstream fix attempt to get TFTP working
Filename:
MIME Type:
Creator:
Matthias Andree
Created:
2019-10-13 15:10:03 UTC
Size:
1.85 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (Revision 514333) >+++ Makefile (Arbeitskopie) >@@ -3,7 +3,7 @@ > > PORTNAME= dnsmasq > DISTVERSION= 2.80 >-PORTREVISION= 3 # leave this in even if 0 to avoid PORTEPOCH bumps >+PORTREVISION= 4 # leave this in even if 0 to avoid PORTEPOCH bumps > PORTEPOCH= 1 > CATEGORIES= dns > MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/ \ >Index: files/patch-src_tftp.c >=================================================================== >--- files/patch-src_tftp.c (nicht existent) >+++ files/patch-src_tftp.c (Arbeitskopie) >@@ -0,0 +1,18 @@ >+X-Git-Url: http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=blobdiff_plain;f=src%2Ftftp.c;h=c618a2c1eeb73de147ade0cf75de24cbc3cb3f38;hp=435b21687ffa366a7bebf1bfc7905997be5b8f7d;hb=936bd82755e8f75fc09c1e9a67fb390175b157d4;hpb=13a58f9590a7071ad4a8c8f7e4178c29a6b66be3 >+ >+--- src/tftp.c.orig 2018-10-18 18:21:55 UTC >++++ src/tftp.c >+@@ -74,9 +74,11 @@ void tftp_request(struct listener *listen, time_t now) >+ #if defined(HAVE_LINUX_NETWORK) >+ char control[CMSG_SPACE(sizeof(struct in_pktinfo))]; >+ #elif defined(HAVE_SOLARIS_NETWORK) >+- char control[CMSG_SPACE(sizeof(unsigned int))]; >++ char control[CMSG_SPACE(sizeof(struct in_addr)) + >++ CMSG_SPACE(sizeof(unsigned int))]; >+ #elif defined(IP_RECVDSTADDR) && defined(IP_RECVIF) >+- char control[CMSG_SPACE(sizeof(struct sockaddr_dl))]; >++ char control[CMSG_SPACE(sizeof(struct in_addr)) + >++ CMSG_SPACE(sizeof(struct sockaddr_dl))]; >+ #endif >+ } control_u; >+ > >Property changes on: files/patch-src_tftp.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 241068
:
208279