projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b10decc
)
windoze suckssss
author
Nathan S. Evans
<evans@in.tum.de>
Wed, 18 Aug 2010 15:51:48 +0000
(15:51 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Wed, 18 Aug 2010 15:51:48 +0000
(15:51 +0000)
src/transport/gnunet-nat-server-windows.c
patch
|
blob
|
history
diff --git
a/src/transport/gnunet-nat-server-windows.c
b/src/transport/gnunet-nat-server-windows.c
index 948a6b2a8220c4317234f3265334384e92e35f9d..5ed4b49b1627c49997a1012e908a71a008891ccd 100644
(file)
--- a/
src/transport/gnunet-nat-server-windows.c
+++ b/
src/transport/gnunet-nat-server-windows.c
@@
-80,7
+80,7
@@
typedef int Socket;
*/
#define DUMMY_IP "192.0.2.86"
-#define VERBOSE
0
+#define VERBOSE
1
/**
* How often do we send our ICMP messages to receive replies?
@@
-251,7
+251,11
@@
process_icmp_response ()
return;
}
have_port = 0;
-
+#if VERBOSE
+ fprintf (stderr,
+ "Received message of %u bytes\n",
+ (unsigned int) have);
+#endif
if (have == sizeof (struct ip_packet) *2 + sizeof (struct icmp_packet) * 2 + sizeof(uint32_t))
{
have_port = 1;