mirror of
git://erdgeist.org/opentracker
synced 2025-04-04 04:17:15 +08:00
provide mrtg with more sane strings
This commit is contained in:
parent
5a3d6b4029
commit
f0ddf30389
@ -372,7 +372,7 @@ ANNOUNCE_WORKAROUND:
|
|||||||
|
|
||||||
t = time( NULL ) - ot_start_time;
|
t = time( NULL ) - ot_start_time;
|
||||||
reply_size = sprintf( static_outbuf + SUCCESS_HTTP_HEADER_LENGTH,
|
reply_size = sprintf( static_outbuf + SUCCESS_HTTP_HEADER_LENGTH,
|
||||||
"%i\n%i\nUp: %i seconds (%i hours)\nPretuned by german engineers, currently handling %i connections per second.",
|
"%i\n%i\n%i seconds (%i hours)\nopentracker - Pretuned by german engineers, currently handling %i connections per second.",
|
||||||
ot_overall_connections, ot_overall_successfulannounces, (int)t, (int)(t / 3600), (int)ot_overall_connections / ( (int)t ? (int)t : 1 ) );
|
ot_overall_connections, ot_overall_successfulannounces, (int)t, (int)(t / 3600), (int)ot_overall_connections / ( (int)t ? (int)t : 1 ) );
|
||||||
break;
|
break;
|
||||||
case 12:
|
case 12:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user