From 3c23e983ecb10dbe2e4293ee3e24bd18a334aea9 Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 26 Jul 2022 10:38:47 +0200 Subject: [PATCH] Fix adding Ethernet switch template --- .../ethernet-switches-add-template.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/preferences/built-in/ethernet-switches/ethernet-switches-add-template/ethernet-switches-add-template.component.ts b/src/app/components/preferences/built-in/ethernet-switches/ethernet-switches-add-template/ethernet-switches-add-template.component.ts index 2c2b8f5a..e3b43d69 100644 --- a/src/app/components/preferences/built-in/ethernet-switches/ethernet-switches-add-template/ethernet-switches-add-template.component.ts +++ b/src/app/components/preferences/built-in/ethernet-switches/ethernet-switches-add-template/ethernet-switches-add-template.component.ts @@ -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',