summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_interfaces.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-03-24 08:42:00 +0100
committerSeth Mos <seth.mos@dds.nl>2011-03-24 08:42:00 +0100
commit126f531437bbc659ba9e4ce1d3973ccb06ed4eae (patch)
treedff960fb336c3c977ecd91613416453a1b9bd962 /usr/local/www/status_interfaces.php
parent1cea22d5afd835e41d538ddb44dc57bd3bae3fd7 (diff)
parentd322e3b37fea3f53117ebdaeb9737f0000d46c82 (diff)
downloadpfsense-126f531437bbc659ba9e4ce1d3973ccb06ed4eae.zip
pfsense-126f531437bbc659ba9e4ce1d3973ccb06ed4eae.tar.gz
Merge remote branch 'upstream/master'
Conflicts: etc/inc/rrd.inc usr/local/www/interfaces.php
Diffstat (limited to 'usr/local/www/status_interfaces.php')
-rwxr-xr-xusr/local/www/status_interfaces.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index 047a053..5d7f80b 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -132,6 +132,21 @@ include("head.inc");
</a>
</td>
</tr>
+ <?php endif; if ($ifinfo['l2tplink']): ?>
+ <tr>
+ <td width="22%" class="vncellt"><?=gettext("L2TP"); ?></td>
+ <td width="78%" class="listr">
+ <?=htmlspecialchars($ifinfo['l2tplink']);?>&nbsp;&nbsp;
+ <?php if ($ifinfo['l2tplink'] == "up"): ?>
+ <a href="status_interfaces.php?action=Disconnect&if=<?php echo $ifdescr; ?>">
+ <input type="button" name="<?php echo $ifdescr; ?>" value="<?=gettext("Disconnect");?>" class="formbtns">
+ <?php else: ?>
+ <a href="status_interfaces.php?action=Connect&if=<?php echo $ifdescr; ?>">
+ <input type="button" name="<?php echo $ifdescr; ?>" value="<?=gettext("Connect");?>" class="formbtns">
+ <?php endif; ?>
+ </a>
+ </td>
+ </tr>
<?php endif; if ($ifinfo['ppplink']): ?>
<tr>
<td width="22%" class="vncellt"><?=gettext("PPP"); ?></td>
OpenPOWER on IntegriCloud