summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_interfaces.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-12 21:24:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-12 21:24:44 +0000
commitfae80dfcc84d932af52cf3827a8a98c9b6892e8e (patch)
tree84208f981fde3ff30c1bd54d90b1ee0c1babec41 /usr/local/www/status_interfaces.php
parent468cee8d243d929d00e7ab68d48c62837118caa8 (diff)
downloadpfsense-fae80dfcc84d932af52cf3827a8a98c9b6892e8e.zip
pfsense-fae80dfcc84d932af52cf3827a8a98c9b6892e8e.tar.gz
Allow multi interface Renew/Release
Diffstat (limited to 'usr/local/www/status_interfaces.php')
-rwxr-xr-xusr/local/www/status_interfaces.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index 8588a04..8d6be83 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -214,7 +214,6 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
<p class="pgtitle"><?=$pgtitle?></p>
-<form action="status_interfaces.php" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php $i = 0; $ifdescrs = array('wan' => 'WAN', 'lan' => 'LAN');
@@ -224,7 +223,10 @@ include("head.inc");
foreach ($ifdescrs as $ifdescr => $ifname):
$ifinfo = get_interface_info($ifdescr);
+ $realint = filter_translate_type_to_real_interface($ifname);
?>
+ <form action="status_interfaces.php" method="post">
+ <input type="hidden" name="interface" value="<?php echo $realint; ?>">
<?php if ($i): ?>
<tr>
<td colspan="8" class="list" height="12"></td>
@@ -347,6 +349,7 @@ include("head.inc");
<?=htmlspecialchars($ifinfo['collisions']);?>
</td>
</tr><?php endif; ?>
+ </form>
<?php endif; ?>
<?php $i++; endforeach; ?>
</table>
OpenPOWER on IntegriCloud