From cac5a31d9384e242d0adc018455c3f85d52b7622 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sat, 15 Dec 2007 17:21:22 +0000 Subject: more udp debugging --- ot_udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ot_udp.c') 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 ) { return; if( !udp_test_connectionid( inpacket, remoteip )) - fprintf( stderr, "UDP Connection id missmatch\n" ); + fprintf( stderr, "UDP Connection id missmatch, %16llX\n", *(uint64_t*)inpacket ); numwant = 200; /* We do only want to know, if it is zero */ @@ -117,7 +117,7 @@ void handle_udp4( int64 serversocket ) { case 2: /* This is a scrape action */ if( !udp_test_connectionid( inpacket, remoteip )) - fprintf( stderr, "UDP Connection id missmatch\n" ); + fprintf( stderr, "UDP Connection id missmatch, %16llX\n", *(uint64_t*)inpacket ); outpacket[0] = htonl( 2 ); /* scrape action */ outpacket[1] = inpacket[12/4]; -- cgit v1.2.3