[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r12669 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r12669 - gnunet/src/transport |
Date: |
Thu, 19 Aug 2010 12:07:52 +0200 |
Author: nevans
Date: 2010-08-19 12:07:52 +0200 (Thu, 19 Aug 2010)
New Revision: 12669
Modified:
gnunet/src/transport/gnunet-nat-client-windows.c
Log:
wrong socket
Modified: gnunet/src/transport/gnunet-nat-client-windows.c
===================================================================
--- gnunet/src/transport/gnunet-nat-client-windows.c 2010-08-19 10:03:31 UTC
(rev 12668)
+++ gnunet/src/transport/gnunet-nat-client-windows.c 2010-08-19 10:07:52 UTC
(rev 12669)
@@ -373,10 +373,10 @@
strerror (errno));
return -1;
}
- if (setsockopt(rawsock, SOL_SOCKET, SO_BROADCAST, (char*)&bOptVal, bOptLen)
!= 0)
+ if (setsockopt(ret, SOL_SOCKET, SO_BROADCAST, (char*)&bOptVal, bOptLen) != 0)
fprintf(stderr, "Error setting SO_BROADCAST: ON\n");
- if (setsockopt(rawsock, IPPROTO_IP, IP_HDRINCL, (char*)&bOptVal, bOptLen) !=
0)
+ if (setsockopt(ret, IPPROTO_IP, IP_HDRINCL, (char*)&bOptVal, bOptLen) != 0)
fprintf(stderr, "Error setting IP_HDRINCL: ON\n");
return ret;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r12669 - gnunet/src/transport,
gnunet <=