freebsd-ports/dns/mdnsd/files/patch-mdnsd.c
Yuri Victorovich 2cf8a65558 dns/mdnsd: Updating to the current revision
PR:		225114
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D13600
2018-01-27 20:09:57 +00:00

19 lines
459 B
C

--- mdnsd.c.orig 2017-11-22 13:47:51 UTC
+++ mdnsd.c
@@ -13,6 +13,7 @@
#endif
#include <sys/types.h>
+#include <sys/socket.h>
#ifdef _WIN32
@@ -139,7 +140,7 @@ int msock(void)
int s, flag = 1, ittl = 255;
struct sockaddr_in in;
struct ip_mreq mc;
- char ttl = 255; // send to any reachable net, not only the subnet
+ u_char ttl = 255; // send to any reachable net, not only the subnet
memset(&in, 0, sizeof(in));
in.sin_family = AF_INET;