diff options
-rw-r--r-- | ot_udp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]; |