aboutsummaryrefslogtreecommitdiff
path: root/net/udpcast/files/patch-socklib.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
commit40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch)
treed70bbf882801af3a4e58dde3ed6a1da1849479d4 /net/udpcast/files/patch-socklib.c
parenta9f801a2186fcb89f70f7dcb211c6d4922c0e3af (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_6_0_0'.release/6.0.0
Notes
Notes: svn path=/head/; revision=145533 svn path=/tags/RELEASE_6_0_0/; revision=145534; tag=release/6.0.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;