mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Update: Increased warning to error on dashboard if IPv6 is not enabled
This commit is contained in:
parent
ade9c47f5c
commit
4dcea865c4
@ -1685,9 +1685,9 @@ static void command_dashboard (client_t *client, source_t *source, adm
|
|||||||
reportxml_node_add_child(resource, node);
|
reportxml_node_add_child(resource, node);
|
||||||
refobject_unref(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);
|
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);
|
status = command_dashboard__atbest(status, ADMIN_DASHBOARD_STATUS_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user