diff --git a/src/usr/local/www/system_routes.php b/src/usr/local/www/system_routes.php index bb89963bb1b..96b85ce8474 100644 --- a/src/usr/local/www/system_routes.php +++ b/src/usr/local/www/system_routes.php @@ -249,14 +249,19 @@ function delete_static_route($id) {
$route): - if (isset($route['disabled'])) { + if (isset($a_gateways[$route['gateway']]['inactive'])) { + $icon = 'fa-times-circle-o'; + $title = gettext("Route inactive, gateway interface is missing"); + } elseif (isset($route['disabled'])) { $icon = 'fa-ban'; + $title = gettext("Route disabled"); } else { $icon = 'fa-check-circle-o'; + $title = gettext("Route enabled"); } ?>