diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-18 20:51:06 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-18 20:51:06 +0000 |
commit | fef3a8efd27f40aa8663e0eb5eed8b8b45d6e77a (patch) | |
tree | db5c5dab7e67ab5c4d06ad09fffa1b962b51d18d /usr/local/www/system_routes.php | |
parent | 0f030fdb84fa050824a554c622f70e148334649d (diff) | |
download | pfsense-fef3a8efd27f40aa8663e0eb5eed8b8b45d6e77a.zip pfsense-fef3a8efd27f40aa8663e0eb5eed8b8b45d6e77a.tar.gz |
Allow the interface to be the gateway. This allows someone with multiple wans to route traffic out a correct interface such as DNS traffic, etc.
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']);?> |