Auto-VLAN käyttää subnetin nimeä + poistettu Reserved-tila
- Auto-VLAN saa subnetin/IP:n nimen (ei enää geneeristä 'VLAN X') - Poistettu 'Reserved' tila-vaihtoehto lomakkeesta (Varattu riittää) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2
api.php
2
api.php
@@ -1852,7 +1852,7 @@ switch ($action) {
|
||||
$newVlan = [
|
||||
'id' => generateId(),
|
||||
'tyyppi' => 'vlan',
|
||||
'nimi' => 'VLAN ' . $vlanNum,
|
||||
'nimi' => trim($entry['nimi']) ?: ('VLAN ' . $vlanNum),
|
||||
'verkko' => '',
|
||||
'vlan_id' => $vlanNum,
|
||||
'site_id' => $entry['site_id'],
|
||||
|
||||
@@ -1034,7 +1034,6 @@
|
||||
<select id="ipam-form-tila">
|
||||
<option value="vapaa">Vapaa</option>
|
||||
<option value="varattu">Varattu</option>
|
||||
<option value="reserved">Reserved</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
||||
Reference in New Issue
Block a user