summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_gateways.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-06-07 21:07:47 +0000
committerErmal <eri@pfsense.org>2010-06-07 21:08:11 +0000
commit66a96e72c06a808f75b8c87ef80aea0c0f95d946 (patch)
tree93e2e95a125bd8badb4bdec54b7f79947f8086a9 /usr/local/www/status_gateways.php
parentac7609c2b663693fbbaaba7de2d2a9ab906def07 (diff)
downloadpfsense-66a96e72c06a808f75b8c87ef80aea0c0f95d946.zip
pfsense-66a96e72c06a808f75b8c87ef80aea0c0f95d946.tar.gz
Reorganize code to be able to actually use the lookup_gateway_ip_by_name() function to find even dynamic gateways ip.
Diffstat (limited to 'usr/local/www/status_gateways.php')
-rwxr-xr-xusr/local/www/status_gateways.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_gateways.php b/usr/local/www/status_gateways.php
index 8ca69f6..125100b 100755
--- a/usr/local/www/status_gateways.php
+++ b/usr/local/www/status_gateways.php
@@ -82,7 +82,7 @@ include("head.inc");
<?=strtoupper($gateway['name']);?>
</td>
<td class="listr" align="center" >
- <?=$a_gateways[$gateway['name']['gateway'];?>
+ <?php echo lookup_gateway_ip_by_name($gateway['name']);?>
</td>
<td class="listr" align="center" >
<?=$target;?>
OpenPOWER on IntegriCloud