|
|
|
@ -38,7 +38,6 @@ static void udp_generate_rijndael_round_key() {
|
|
|
|
|
static void udp_make_connectionid( uint32_t connid[4], const ot_ip6 remoteip ) {
|
|
|
|
|
uint32_t plain[4], crypt[4];
|
|
|
|
|
int age, i;
|
|
|
|
|
for( i=0; i<16; ++i ) fprintf( stderr, "%02uX ", (uint8_t)remoteip[i] ); fprintf(stderr, "\n" );
|
|
|
|
|
if( g_now_minutes + 60 > g_hour_of_the_key ) {
|
|
|
|
|
g_hour_of_the_key = g_now_minutes;
|
|
|
|
|
g_key_of_the_hour[1] = g_key_of_the_hour[0];
|
|
|
|
@ -198,4 +197,4 @@ void udp_init( int64 sock, unsigned int worker_count ) {
|
|
|
|
|
pthread_create( &thread_id, NULL, udp_worker, (void *)sock );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const char *g_version_udp_c = "$Source: /home/cvsroot/opentracker/ot_udp.c,v $: $Revision: 1.28 $\n";
|
|
|
|
|
const char *g_version_udp_c = "$Source: /home/cvsroot/opentracker/ot_udp.c,v $: $Revision: 1.29 $\n";
|
|
|
|
|