diff options
author | erdgeist <> | 2012-05-28 19:05:02 +0000 |
---|---|---|
committer | erdgeist <> | 2012-05-28 19:05:02 +0000 |
commit | dc90c8867cd39a42c85ee15d711b84c7206677cf (patch) | |
tree | a62737b79841d32b2eb9f441935ccf0334195040 /ot_udp.c | |
parent | 37db5f94fadae6993585d447b4faa00cacca49a2 (diff) |
Report connection id missmatch count
Diffstat (limited to 'ot_udp.c')
-rw-r--r-- | ot_udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ static void udp_generate_rijndael_round_key() { | |||
38 | static void udp_make_connectionid( uint32_t connid[4], const ot_ip6 remoteip ) { | 38 | static void udp_make_connectionid( uint32_t connid[4], const ot_ip6 remoteip ) { |
39 | uint32_t plain[4], crypt[4]; | 39 | uint32_t plain[4], crypt[4]; |
40 | int age, i; | 40 | int age, i; |
41 | 41 | for( i=0; i<16; ++i ) fprintf( stderr, "%02uX ", (uint8_t)remoteip[i] ); fprintf(stderr, "\n" ); | |
42 | if( g_now_minutes + 60 > g_hour_of_the_key ) { | 42 | if( g_now_minutes + 60 > g_hour_of_the_key ) { |
43 | g_hour_of_the_key = g_now_minutes; | 43 | g_hour_of_the_key = g_now_minutes; |
44 | g_key_of_the_hour[1] = g_key_of_the_hour[0]; | 44 | g_key_of_the_hour[1] = g_key_of_the_hour[0]; |