diff options
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 | } |
