Renamed IXP in ASN mode

This commit is contained in:
Luca Deri 2025-07-28 19:10:51 +02:00
parent 6bd25f4f47
commit fec81bd9d7
7 changed files with 24 additions and 26 deletions

View file

@ -2417,7 +2417,7 @@ local known_parameters = {
["http_index_page"] = validateUnquoted,
["clickhouse_flows_archive_path"] = validateUnquoted,
["toggle_data_archive_before_ttl_delete"] = validateBool,
["ixp_mode_enabled"] = validateBool,
["asn_mode_enabled"] = validateBool,
["safe_search_dns"] = validateIPV4,
["global_dns"] = validateEmptyOr(validateIPV4),
["secondary_dns"] = validateEmptyOr(validateIPV4),

View file

@ -284,16 +284,16 @@ local menu_subpages = {{
}
}, {
-- url path value
id = "ixp_settings",
label = i18n("prefs.ixp_mode"),
id = "asn_settings",
label = i18n("prefs.asn_mode"),
advanced = true,
pro_only = true,
-- Enable IXP mode in EnterpriseXL and zmq interface
-- Enable ASN mode in EnterpriseXL and zmq interface
hidden = (ntop.isEnterpriseXL() == false),
entries = {
ixp_mode_enabled = {
title = i18n("prefs.toggle_ixp_mode_title"),
description = i18n("prefs.toggle_ixp_mode_description")
asn_mode_enabled = {
title = i18n("prefs.toggle_asn_mode_title"),
description = i18n("prefs.toggle_asn_mode_description")
}
}
},{