Add L2 entry deletion support via web

This commit is contained in:
logicog
2026-01-17 12:56:43 +01:00
parent 3509f7da04
commit e53f5e7134
4 changed files with 57 additions and 4 deletions
+3
View File
@@ -576,6 +576,9 @@ void httpd_appcall(void)
} else if (is_word(q, "/l2.json")) {
parse_short(q + 13); // e.g.: /l2.json?idx=10
send_l2(short_parsed);
} else if (is_word(q, "/l2_del.json")) {
parse_short(q + 17);
l2_delete(short_parsed);
} else if (is_word(q, "/mirror.json")) {
send_mirror();
} else if (is_word(q, "/mtu.json")) {