[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12647 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12647 - gnunet/src/transport |
Date: |
Wed, 18 Aug 2010 21:33:59 +0200 |
Author: nevans
Date: 2010-08-18 21:33:59 +0200 (Wed, 18 Aug 2010)
New Revision: 12647
Modified:
gnunet/src/transport/gnunet-nat-client-windows.c
Log:
yes, windows still sucks
Modified: gnunet/src/transport/gnunet-nat-client-windows.c
===================================================================
--- gnunet/src/transport/gnunet-nat-client-windows.c 2010-08-18 19:26:54 UTC
(rev 12646)
+++ gnunet/src/transport/gnunet-nat-client-windows.c 2010-08-18 19:33:59 UTC
(rev 12647)
@@ -393,16 +393,8 @@
memset (&dst, 0, sizeof (dst));
dst.sin_family = AF_INET;
//dst.sin_addr = *other;
- dst.sin_addr = dummy;
+ dst.sin_addr = *other;
- err = sendto(rawsock,
- packet,
- off - 20, 0,
- (struct sockaddr*)&dst,
- sizeof(dst)); /* or sizeof 'struct sockaddr'? */
-
- fprintf(stderr, "Sent %d bytes (wanted %d)\n", err, off);
-
/* icmp reply: time exceeded */
icmp_pkt = (struct icmp_packet*) &packet[off];
memset(icmp_pkt, 0, sizeof(struct icmp_packet));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12647 - gnunet/src/transport,
gnunet <=