summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_interfaces.php
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-03-29 20:03:55 +0700
committergnhb <gnoahb@gmail.com>2010-03-29 20:03:55 +0700
commitc90f247117ace2af4e072e7004e1750875e568ff (patch)
tree9ffc5d18ff5358ff09854d6170474f8dcb836d86 /usr/local/www/status_interfaces.php
parenta216a03a00166350c22162f1e0da03927e23af10 (diff)
downloadpfsense-c90f247117ace2af4e072e7004e1750875e568ff.zip
pfsense-c90f247117ace2af4e072e7004e1750875e568ff.tar.gz
Changes to make PPP work again. mpd5 fails to establish a ppp link without
*some* username and password, so defaults are set if user enters nothing. Removed interface_ppp_configure call from interfaces_ppp_edit.php. It was useless there with the new structure, and it caused all PPP links to attempt to connect when user presses "Save" even before they are assigned to LAN/WAN, etc. Also, fix up pfsense-utils.inc and status_interfaces.php to display more info on status_interfaces.php. Changed util.inc to allow cua* interfaces to be recognized as real interfaces as pfSense got "interface mismatch" at boot and forced user to reassign. Maybe someone else has a better way to do this.
Diffstat (limited to 'usr/local/www/status_interfaces.php')
-rwxr-xr-xusr/local/www/status_interfaces.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index 5ebde3d..eaa968b 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -138,12 +138,12 @@ include("head.inc");
<tr>
<td width="22%" class="vncellt">PPP</td>
<td width="78%" class="listr">
- <?=htmlspecialchars($ifinfo['ppplink']);?>&nbsp;&nbsp;
- <?php if ($ifinfo['status'] == "up"): ?>
+ <?=htmlspecialchars($ifinfo['pppinfo']);?>
+ <?php if ($ifinfo['ppplink'] == "up"): ?>
<a href="status_interfaces.php?action=Disconnect&if=<?php echo $ifdescr; ?>">
<input type="button" name="<?php echo $ifdescr; ?>" value="Disconnect" class="formbtns">
<?php else: ?>
- <?php if (!$ifinfo['missing_device']): ?>
+ <?php if (!$ifinfo['nodevice']): ?>
<a href="status_interfaces.php?action=Connect&if=<?php echo $ifdescr; ?>">
<input type="button" name="<?php echo $ifdescr; ?>" value="Connect" class="formbtns">
<?php endif; ?>
OpenPOWER on IntegriCloud