summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ot_udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot_udp.c b/ot_udp.c
index f34d08f..1133062 100644
--- a/ot_udp.c
+++ b/ot_udp.c
@@ -75,7 +75,7 @@ void handle_udp4( int64 serversocket ) {
75 return; 75 return;
76 76
77 if( !udp_test_connectionid( inpacket, remoteip )) 77 if( !udp_test_connectionid( inpacket, remoteip ))
78 fprintf( stderr, "UDP Connection id missmatch\n" ); 78 fprintf( stderr, "UDP Connection id missmatch, %16llX\n", *(uint64_t*)inpacket );
79 79
80 numwant = 200; 80 numwant = 200;
81 /* We do only want to know, if it is zero */ 81 /* We do only want to know, if it is zero */
@@ -117,7 +117,7 @@ void handle_udp4( int64 serversocket ) {
117 117
118 case 2: /* This is a scrape action */ 118 case 2: /* This is a scrape action */
119 if( !udp_test_connectionid( inpacket, remoteip )) 119 if( !udp_test_connectionid( inpacket, remoteip ))
120 fprintf( stderr, "UDP Connection id missmatch\n" ); 120 fprintf( stderr, "UDP Connection id missmatch, %16llX\n", *(uint64_t*)inpacket );
121 121
122 outpacket[0] = htonl( 2 ); /* scrape action */ 122 outpacket[0] = htonl( 2 ); /* scrape action */
123 outpacket[1] = inpacket[12/4]; 123 outpacket[1] = inpacket[12/4];