summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-09-15 04:55:49 +0000
committerBill Marquette <billm@pfsense.org>2005-09-15 04:55:49 +0000
commitbc0caea706f819c02ccf842c647e0e878f02de01 (patch)
tree4f711c05c09c9e7c23d8e2b0082bd86827cfc01c /usr
parent081065c1e687840b782e36bf61e8231eb80bd843 (diff)
downloadpfsense-bc0caea706f819c02ccf842c647e0e878f02de01.zip
pfsense-bc0caea706f819c02ccf842c647e0e878f02de01.tar.gz
Only display interfaces that are jumbo frame capable
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces_vlan_edit.php19
1 files changed, 13 insertions, 6 deletions
diff --git a/usr/local/www/interfaces_vlan_edit.php b/usr/local/www/interfaces_vlan_edit.php
index 665a933..83f0f12 100755
--- a/usr/local/www/interfaces_vlan_edit.php
+++ b/usr/local/www/interfaces_vlan_edit.php
@@ -111,12 +111,19 @@ include("head.inc");
<td width="78%" class="vtable">
<select name="if" class="formfld">
<?php
- foreach ($portlist as $ifn => $ifinfo): ?>
- <option value="<?=$ifn;?>" <?php if ($ifn == $pconfig['if']) echo "selected"; ?>>
- <?=htmlspecialchars($ifn . " (" . $ifinfo['mac'] . ")");?>
- </option>
- <?php endforeach; ?>
- </select></td>
+ foreach ($portlist as $ifn => $ifinfo)
+ if (is_jumbo_capable($ifn)) {
+ echo "<option value=\"{$ifn}\"";
+ if ($ifn == $pconfig['if'])
+ echo "selected";
+ echo ">";
+ echo htmlspecialchars($ifn . " (" . $ifinfo['mac'] . ")");
+ echo "</option>";
+ }
+ ?>
+ </select>
+ <br/>
+ <span class="vexpl">Only VLAN capable interfaces will be shown.</span></td>
</tr>
<tr>
<td valign="top" class="vncellreq">VLAN tag </td>
OpenPOWER on IntegriCloud