summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_routes.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-18 20:51:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-18 20:51:06 +0000
commitfef3a8efd27f40aa8663e0eb5eed8b8b45d6e77a (patch)
treedb5c5dab7e67ab5c4d06ad09fffa1b962b51d18d /usr/local/www/system_routes.php
parent0f030fdb84fa050824a554c622f70e148334649d (diff)
downloadpfsense-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-xusr/local/www/system_routes.php8
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']);?>&nbsp;
OpenPOWER on IntegriCloud