mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 14:51:27 +02:00
MINOR: stats admin: use the backend id instead of its name in the form
Proxy ids are unique whereas names can be used several times in the configuration. In order to prevent the ambiguity, the HTML form now provides the backend id instead of its name (the name can still be provided in the POST data).
This commit is contained in:
parent
0bb519e6e5
commit
aa0a45d2ed
@ -3160,10 +3160,10 @@ static int stats_dump_proxy(struct stream_interface *si, struct proxy *px, struc
|
|||||||
"<option value=\"disable\">Disable</option>"
|
"<option value=\"disable\">Disable</option>"
|
||||||
"<option value=\"enable\">Enable</option>"
|
"<option value=\"enable\">Enable</option>"
|
||||||
"</select>"
|
"</select>"
|
||||||
"<input type=\"hidden\" name=\"b\" value=\"%s\">"
|
"<input type=\"hidden\" name=\"b\" value=\"#%d\">"
|
||||||
" <input type=\"submit\" value=\"Apply\">"
|
" <input type=\"submit\" value=\"Apply\">"
|
||||||
"</form>",
|
"</form>",
|
||||||
px->id);
|
px->uuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
chunk_printf(&msg, "<p>\n");
|
chunk_printf(&msg, "<p>\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user