From ae16a23ae09b78b78b5b0b21129e3ee014ae1e87 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Mon, 28 May 2012 15:15:32 +0000 Subject: Add connection id missmatch code --- ot_stats.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ot_stats.c') diff --git a/ot_stats.c b/ot_stats.c index 39b8d69..5e7a9f3 100644 --- a/ot_stats.c +++ b/ot_stats.c @@ -59,6 +59,7 @@ static char * ot_failed_request_names[] = { "302 Redirect", "400 Par static unsigned long long ot_renewed[OT_PEER_TIMEOUT]; static unsigned long long ot_overall_sync_count; static unsigned long long ot_overall_stall_count; +static unsigned long long g_stats_connid_missmatches; static time_t ot_start_time; @@ -723,6 +724,8 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event pthread_mutex_unlock( &g_woodpeckers_mutex ); break; #endif + case EVENT_CONNID_MISSMATCH: + ++g_stats_connid_missmatches; default: break; } -- cgit v1.2.3