1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Update: Increased warning to error on dashboard if IPv6 is not enabled

This commit is contained in:
Philipp Schafft 2022-03-15 21:14:12 +00:00
parent ade9c47f5c
commit 4dcea865c4

View File

@ -1685,9 +1685,9 @@ static void command_dashboard (client_t *client, source_t *source, adm
reportxml_node_add_child(resource, node);
refobject_unref(node);
if (config->config_problems || has_too_many_clients) {
if (config->config_problems || has_too_many_clients || !inet6_enabled) {
status = command_dashboard__atbest(status, ADMIN_DASHBOARD_STATUS_ERROR);
} else if (!has_sources || has_many_clients || !inet6_enabled) {
} else if (!has_sources || has_many_clients) {
status = command_dashboard__atbest(status, ADMIN_DASHBOARD_STATUS_WARNING);
}