summaryrefslogtreecommitdiff
path: root/net/udpcast/files/patch-socklib.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2008-11-19 10:43:57 +0000
commitf982be45e81588a27383cd1a3eb12789b8498904 (patch)
tree07be283d015b2c39f95e655cb7328ff355bc47fa /net/udpcast/files/patch-socklib.c
parent- Fix modes of the temp directory [1] (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_4_0'.release/6.4.0
Diffstat (limited to 'net/udpcast/files/patch-socklib.c')
-rw-r--r--net/udpcast/files/patch-socklib.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/net/udpcast/files/patch-socklib.c b/net/udpcast/files/patch-socklib.c
deleted file mode 100644
index 03d62095cdad..000000000000
--- a/net/udpcast/files/patch-socklib.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- socklib.c.orig Sat Feb 21 13:58:37 2004
-+++ socklib.c Tue Jul 20 17:58:51 2004
-@@ -16,6 +16,8 @@
- #include "log.h"
- #include "socklib.h"
-
-+#undef SIOCGIFINDEX
-+
- #ifdef LOSSTEST
- /**
- * Packet loss/swap testing...
-@@ -289,7 +291,7 @@
-
- int setTtl(int sock, int ttl) {
- /* set the socket to broadcast */
-- return setsockopt(sock, SOL_IP, IP_MULTICAST_TTL, &ttl, sizeof(int));
-+ return setsockopt(sock, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(int));
- }
-
- #ifdef SIOCGIFINDEX
-@@ -334,7 +336,7 @@
- int r;
-
- fillMreq(sock, ifname, addr, &mreq);
-- r = setsockopt(sock, SOL_IP, code, &mreq, sizeof(mreq));
-+ r = setsockopt(sock, IPPROTO_IP, code, &mreq, sizeof(mreq));
- if(r < 0) {
- perror(message);
- exit(1);
-@@ -366,7 +368,7 @@
-
-
- int setMcastDestination(int sock, char *ifname, struct sockaddr *addr) {
--#ifdef __CYGWIN__
-+#if defined(__CYGWIN__) || defined(__FreeBSD__)
- int r;
- struct sockaddr interface_addr;
- struct in_addr if_addr;