diff --git a/scripts/locales/en.lua b/scripts/locales/en.lua index 72d5ade5b5..d21e6f4f52 100644 --- a/scripts/locales/en.lua +++ b/scripts/locales/en.lua @@ -1908,6 +1908,8 @@ local lang = { ["mac_lease_exists"] = "A static lease for mac \"%{mac}\" already exists.", ["max_bps_per_host"] = "Max %{bps} per Host", ["max_perc"] = "Max %{perc}%%", + ["max_rrt"] = "Max RTT", + ["max_rrt_description"] = "The maximum Round Trip Time toward the monitor address. If the measured RTT exceeds this value, the gateway is considered down.", ["maximum_enforced"] = "Maximum Enforced", ["maximum_enforced_descr"] = "If set to maximum enforced, the maximum bandwidth allocation will be enforced regardless of the available bandwidth.", ["member_address"] = "Member Address", @@ -1977,11 +1979,11 @@ local lang = { ["static_dhcp_leases"] = "DHCP Server Static Leases", ["static_route_address_descr"] = "Specify the destination for the static route.", ["static_route_exists"] = "Static route %{sr} already exists.", + ["static_route_is_local_descr"] = "Specify whether this is a static route to a local network.", + ["static_route_is_local_title"] = "Local Network Static Route", ["static_route_name"] = "Static Route Name", ["static_route_netmask_descr"] = "Specify the netmask to apply to the destination for the static route.", ["static_route_via_descr"] = "Specify the IP address to use as next hop for the static route.", - ["static_route_is_local_title"] = "Local Network Static Route", - ["static_route_is_local_descr"] = "Specify whether this is a static route to a local network.", ["static_route_x"] = "Static route %{sr}", ["static_routes"] = "Static Routes", ["static_routes_in_policies"] = "Static routes are applied to (and take precedence over) any of the defined Routing Policies.", diff --git a/scripts/lua/modules/http_lint.lua b/scripts/lua/modules/http_lint.lua index 2693a6701e..cb39b62225 100644 --- a/scripts/lua/modules/http_lint.lua +++ b/scripts/lua/modules/http_lint.lua @@ -1317,6 +1317,7 @@ local special_parameters = { --[[Suffix validator]] --[[Value Validator]] -- Gateways ["gateway_address_"] = { validateGatewayName, validateIPV4 }, ["gateway_ping_"] = { validateGatewayName, validateIPV4 }, + ["gw_rtt_"] = { validateGatewayName, validateNumber }, ["gw_id_"] = { validateNumber, validateGatewayName }, ["pol_id_"] = { validateNumber, validateRoutingPolicyName }, ["routing_"] = { validateRoutingPolicyGateway, validateEmptyOr(validateNumber) }, -- a routing policy