summaryrefslogtreecommitdiff
path: root/ot_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_stats.c')
-rw-r--r--ot_stats.c3
1 files changed, 3 insertions, 0 deletions
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
59static unsigned long long ot_renewed[OT_PEER_TIMEOUT]; 59static unsigned long long ot_renewed[OT_PEER_TIMEOUT];
60static unsigned long long ot_overall_sync_count; 60static unsigned long long ot_overall_sync_count;
61static unsigned long long ot_overall_stall_count; 61static unsigned long long ot_overall_stall_count;
62static unsigned long long g_stats_connid_missmatches;
62 63
63static time_t ot_start_time; 64static 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 }