mirror of
git://erdgeist.org/opentracker
synced 2025-04-04 04:17:15 +08:00
fix the stats a little for not accepting udp scrapes
This commit is contained in:
parent
45d34960b0
commit
36413e4853
@ -654,6 +654,10 @@ static void handle_udp4( int64 serversocket ) {
|
|||||||
ot_overall_udp_successfulannounces++;
|
ot_overall_udp_successfulannounces++;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 2: /* This is a scrape action */
|
||||||
|
ot_overall_udp_connections--; // subtract again because we don't answer scrapes but it is also not an error
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user