diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces_vlan_edit.php | 19 |
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> |