Projet

Général

Profil

« Précédent | Suivant » 

Révision 6da518fc

Ajouté par Renato Botelho il y a presque 10 ans

Do not allow interface group name to be bigger than 15 chars, helps ticket #3208

Voir les différences:

usr/local/www/interfaces_groups_edit.php
251 251
  <tr>
252 252
    <td valign="top" class="vncellreq"><?=gettext("Group Name");?></td>
253 253
    <td class="vtable">
254
	<input class="formfld unknown" name="ifname" id="ifname" value="<?=htmlspecialchars($pconfig['ifname']);?>" />
254
	<input class="formfld unknown" name="ifname" id="ifname" maxlength="15" value="<?=htmlspecialchars($pconfig['ifname']);?>" />
255 255
	<br />
256 256
	<?=gettext("No numbers or spaces are allowed. Only characters in a-zA-Z");?>
257 257
    </td>

Formats disponibles : Unified diff