diff options
Diffstat (limited to 'net/p5-Net-RawSock/files/patch-RawSock.xs')
-rw-r--r-- | net/p5-Net-RawSock/files/patch-RawSock.xs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/net/p5-Net-RawSock/files/patch-RawSock.xs b/net/p5-Net-RawSock/files/patch-RawSock.xs deleted file mode 100644 index fee057163aa8..000000000000 --- a/net/p5-Net-RawSock/files/patch-RawSock.xs +++ /dev/null @@ -1,21 +0,0 @@ ---- RawSock.xs.orig Thu Jan 30 00:11:00 2003 -+++ RawSock.xs Thu Jan 30 09:58:31 2003 -@@ -15,6 +15,7 @@ - - #include <sys/types.h> - #include <sys/socket.h> -+#include <netinet/in.h> - #include <fcntl.h> - - -@@ -67,7 +68,9 @@ - RETVAL = 2; - } else { - len = ntohs(ip_hdr->tot_len); -- if (sendto(fd,(char *)pkt,len,0x0,(struct sockaddr *)&sa,sizeof(sa))<0) { -+ ip_hdr->tot_len = len; -+ if (sendto(fd, (void *)pkt, len, 0x0, -+ (struct sockaddr *)&sa, sizeof(sa)) < len) { - RETVAL = 3; - } else { - RETVAL = 0; |