Add version info in embedded stats page
This commit is contained in:
parent
7f12f71f94
commit
7b9e178a76
@ -76,6 +76,8 @@ showstats(struct conn_s *connptr)
|
||||
"Number of denied connections: %lu<br />\n"
|
||||
"Number of refused connections due to high load: %lu\n"
|
||||
"</p>\n"
|
||||
"<hr />\n"
|
||||
"<p><em>Generated by %s version %s.</em></p>\n"
|
||||
"</body>\n"
|
||||
"</html>\n";
|
||||
|
||||
@ -99,7 +101,8 @@ showstats(struct conn_s *connptr)
|
||||
stats->num_open,
|
||||
stats->num_reqs,
|
||||
stats->num_badcons, stats->num_denied,
|
||||
stats->num_refused);
|
||||
stats->num_refused,
|
||||
PACKAGE, VERSION);
|
||||
|
||||
if (send_http_message(connptr, 200, "OK", message_buffer) < 0) {
|
||||
safefree(message_buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user