summaryrefslogtreecommitdiff
path: root/ot_udp.c
diff options
context:
space:
mode:
authorerdgeist <>2012-05-28 19:05:02 +0000
committererdgeist <>2012-05-28 19:05:02 +0000
commitdc90c8867cd39a42c85ee15d711b84c7206677cf (patch)
treea62737b79841d32b2eb9f441935ccf0334195040 /ot_udp.c
parent37db5f94fadae6993585d447b4faa00cacca49a2 (diff)
Report connection id missmatch count
Diffstat (limited to 'ot_udp.c')
-rw-r--r--ot_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_udp.c b/ot_udp.c
index b79bc76..603a4e2 100644
--- a/ot_udp.c
+++ b/ot_udp.c
@@ -38,7 +38,7 @@ static void udp_generate_rijndael_round_key() {
38static void udp_make_connectionid( uint32_t connid[4], const ot_ip6 remoteip ) { 38static 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 41for( 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];