Fix adding Ethernet switch template

This commit is contained in:
grossmj 2022-07-26 10:38:47 +02:00
parent 3024f62d4b
commit 3c23e983ec

View File

@ -69,7 +69,7 @@ export class EthernetSwitchesAddTemplateComponent implements OnInit {
for (let i = 0; i < this.formGroup.get('numberOfPorts').value; i++) {
ethernetSwitchTemplate.ports_mapping.push({
ethertype: '',
ethertype: '0x8100',
name: `Ethernet${i}`,
port_number: i,
type: 'access',