summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2009-02-03 12:21:36 +0000
committererdgeist <>2009-02-03 12:21:36 +0000
commit6e3ef99daf1b4a932ae84ed4e185b850c9559567 (patch)
tree4c45350c7fa040d7ae12b9d27ee2954d2ce167e7
parentf8185878fb8465961231d8827a6f9050feef9a8f (diff)
Forgot to copy the stats?mode=tcp4 parameter
-rw-r--r--ot_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index bc3aef0..d56564d 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -161,7 +161,7 @@ static ssize_t http_handle_stats( const int64 sock, struct ot_workstruct *ws, ch
161static const ot_keywords keywords_main[] = 161static const ot_keywords keywords_main[] =
162 { { "mode", 1 }, {"format", 2 }, { NULL, -3 } }; 162 { { "mode", 1 }, {"format", 2 }, { NULL, -3 } };
163static const ot_keywords keywords_mode[] = 163static const ot_keywords keywords_mode[] =
164 { { "peer", TASK_STATS_PEERS }, { "conn", TASK_STATS_CONNS }, { "scrp", TASK_STATS_SCRAPE }, { "udp4", TASK_STATS_UDP }, 164 { { "peer", TASK_STATS_PEERS }, { "conn", TASK_STATS_CONNS }, { "scrp", TASK_STATS_SCRAPE }, { "udp4", TASK_STATS_UDP }, { "tcp4", TASK_STATS_TCP },
165 { "busy", TASK_STATS_BUSY_NETWORKS }, { "torr", TASK_STATS_TORRENTS }, { "fscr", TASK_STATS_FULLSCRAPE }, 165 { "busy", TASK_STATS_BUSY_NETWORKS }, { "torr", TASK_STATS_TORRENTS }, { "fscr", TASK_STATS_FULLSCRAPE },
166 { "s24s", TASK_STATS_SLASH24S }, { "tpbs", TASK_STATS_TPB }, { "herr", TASK_STATS_HTTPERRORS }, 166 { "s24s", TASK_STATS_SLASH24S }, { "tpbs", TASK_STATS_TPB }, { "herr", TASK_STATS_HTTPERRORS },
167 { "top10", TASK_STATS_TOP10 }, { "renew", TASK_STATS_RENEW }, { "syncs", TASK_STATS_SYNCS }, { "version", TASK_STATS_VERSION }, 167 { "top10", TASK_STATS_TOP10 }, { "renew", TASK_STATS_RENEW }, { "syncs", TASK_STATS_SYNCS }, { "version", TASK_STATS_VERSION },