summaryrefslogtreecommitdiff
path: root/src/stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stats.c')
-rw-r--r--src/stats.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c
index dcbc3b8..558a4c4 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -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);