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:
2026-03-11 09:36:57 +02:00
parent 7222f817ab
commit 8a73423bf1
2 changed files with 1 additions and 2 deletions

View File

@@ -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'],

View File

@@ -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">