|
|
|
@ -603,7 +603,7 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event
|
|
|
|
|
ot_ip6 *ip = (ot_ip6*)event_data; /* ugly hack to transfer ip to stats */
|
|
|
|
|
char _debug[512];
|
|
|
|
|
int off = snprintf( _debug, sizeof(_debug), "[%08d] scrp: ", (unsigned int)(g_now_seconds - ot_start_time)/60 );
|
|
|
|
|
off += fmt_ip6( _debug+off, *ip );
|
|
|
|
|
off += fmt_ip6c( _debug+off, *ip );
|
|
|
|
|
off += snprintf( _debug+off, sizeof(_debug)-off, " - FULL SCRAPE\n" );
|
|
|
|
|
write( 2, _debug, off );
|
|
|
|
|
ot_full_scrape_request_count++;
|
|
|
|
@ -614,7 +614,7 @@ void stats_issue_event( ot_status_event event, PROTO_FLAG proto, uintptr_t event
|
|
|
|
|
ot_ip6 *ip = (ot_ip6*)event_data; /* ugly hack to transfer ip to stats */
|
|
|
|
|
char _debug[512];
|
|
|
|
|
int off = snprintf( _debug, sizeof(_debug), "[%08d] scrp: ", (unsigned int)(g_now_seconds - ot_start_time)/60 );
|
|
|
|
|
off += fmt_ip6(_debug+off, *ip );
|
|
|
|
|
off += fmt_ip6c(_debug+off, *ip );
|
|
|
|
|
off += snprintf( _debug+off, sizeof(_debug)-off, " - FULL SCRAPE\n" );
|
|
|
|
|
write( 2, _debug, off );
|
|
|
|
|
ot_full_scrape_request_count++;
|
|
|
|
|