mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-04 20:14:13 +00:00
Fix adding Ethernet switch template
This commit is contained in:
parent
3024f62d4b
commit
3c23e983ec
@ -69,7 +69,7 @@ export class EthernetSwitchesAddTemplateComponent implements OnInit {
|
|||||||
|
|
||||||
for (let i = 0; i < this.formGroup.get('numberOfPorts').value; i++) {
|
for (let i = 0; i < this.formGroup.get('numberOfPorts').value; i++) {
|
||||||
ethernetSwitchTemplate.ports_mapping.push({
|
ethernetSwitchTemplate.ports_mapping.push({
|
||||||
ethertype: '',
|
ethertype: '0x8100',
|
||||||
name: `Ethernet${i}`,
|
name: `Ethernet${i}`,
|
||||||
port_number: i,
|
port_number: i,
|
||||||
type: 'access',
|
type: 'access',
|
||||||
|
Loading…
Reference in New Issue
Block a user