diff options
author | erdgeist <> | 2012-05-28 15:15:32 +0000 |
---|---|---|
committer | erdgeist <> | 2012-05-28 15:15:32 +0000 |
commit | ae16a23ae09b78b78b5b0b21129e3ee014ae1e87 (patch) | |
tree | 97e1a463b50a1bc69885e449db94964262cdd3f5 /ot_stats.c | |
parent | 44e004ac9aaa7cab4fd2f3d64ffecf0d188ac756 (diff) |
Add connection id missmatch code
Diffstat (limited to 'ot_stats.c')
-rw-r--r-- | ot_stats.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -59,6 +59,7 @@ static char * ot_failed_request_names[] = { "302 Redirect", "400 Par | |||
59 | static unsigned long long ot_renewed[OT_PEER_TIMEOUT]; | 59 | static unsigned long long ot_renewed[OT_PEER_TIMEOUT]; |
60 | static unsigned long long ot_overall_sync_count; | 60 | static unsigned long long ot_overall_sync_count; |
61 | static unsigned long long ot_overall_stall_count; | 61 | static unsigned long long ot_overall_stall_count; |
62 | static unsigned long long g_stats_connid_missmatches; | ||
62 | 63 | ||
63 | static time_t ot_start_time; | 64 | static time_t ot_start_time; |
64 | 65 | ||
@@ -723,6 +724,8 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event | |||
723 | pthread_mutex_unlock( &g_woodpeckers_mutex ); | 724 | pthread_mutex_unlock( &g_woodpeckers_mutex ); |
724 | break; | 725 | break; |
725 | #endif | 726 | #endif |
727 | case EVENT_CONNID_MISSMATCH: | ||
728 | ++g_stats_connid_missmatches; | ||
726 | default: | 729 | default: |
727 | break; | 730 | break; |
728 | } | 731 | } |