Add backend support for bandwidth control

This commit is contained in:
logicog
2026-03-08 20:55:50 +01:00
parent 1374272db6
commit 7949975191
3 changed files with 47 additions and 0 deletions
+2
View File
@@ -586,6 +586,8 @@ void httpd_appcall(void)
send_counters(q[20]-'0');
} else if (is_word(q, "/eee.json")) {
send_eee();
} else if (is_word(q, "/bandwidth.json")) {
send_bandwidth();
} else if (is_word(q, "/l2.json")) {
parse_short(q + 13); // e.g.: /l2.json?idx=10
send_l2(short_parsed);