Add missing table entries in the Acvanced Network tab (#1039)

- Add missing layouts table entry for the GL-B1300.
- Add missing default_configs table entry for VMware Virtual Platform
This commit is contained in:
Paul K3PGM 2023-12-20 23:35:07 -05:00 committed by GitHub
parent e5bd9bc066
commit 0b7db7f15c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

2
files/www/cgi-bin/advancednetwork Executable file → Normal file
View File

@ -51,6 +51,7 @@ local default_1_port_layout = { ports = { [1] = "eth0" } }
local layouts = {
["mikrotik,hap-ac2"] = default_5_port_layout,
["mikrotik,hap-ac3"] = default_5_port_layout,
["glinet,gl-b1300"] = default_3_port_layout,
["qemu-standard-pc-i440fx-piix-1996"] = default_1_port_layout,
["VMware, Inc. VMware Virtual Platform"] = default_1_port_layout
}
@ -100,6 +101,7 @@ local default_configs = {
["mikrotik,hap-ac3"] = default_5_port_config,
["glinet,gl-b1300"] = default_3_port_config,
["qemu-standard-pc-i440fx-piix-1996"] = nil,
["VMware, Inc. VMware Virtual Platform"] = nil
}
function read_user_config(network)