diff options
Diffstat (limited to 'usr/local/www/system_routes.php')
-rwxr-xr-x | usr/local/www/system_routes.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/local/www/system_routes.php b/usr/local/www/system_routes.php index 2edde7a..90479a6 100755 --- a/usr/local/www/system_routes.php +++ b/usr/local/www/system_routes.php @@ -132,7 +132,13 @@ include("head.inc"); <?=strtolower($route['network']);?> </td> <td class="listr" ondblclick="document.location='system_routes_edit.php?id=<?=$i;?>';"> - <?=strtolower($route['gateway']);?> + <?php + if(isset($route['interfacegateway'])) { + echo strtoupper($route['interface']) . " "; + } else { + echo strtolower($route['gateway']) . " "; + } + ?> </td> <td class="listbg" ondblclick="document.location='system_routes_edit.php?id=<?=$i;?>';"> <font color="#FFFFFF"><?=htmlspecialchars($route['descr']);?> |