mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-11-01 18:04:12 +08:00
The firmware never displays vlan 0, we shouldn't either
This commit is contained in:
1 parent
3694363001
commit
f22bf9cf82
1 file changed
+2
@@ -552,6 +552,8 @@ class Handler(SimpleHTTPRequestHandler):
|
|||||||
vlan_list = []
|
vlan_list = []
|
||||||
for i in state["vlans"].keys():
|
for i in state["vlans"].keys():
|
||||||
if i in state["vlans"] and state["vlans"][i]["active"]:
|
if i in state["vlans"] and state["vlans"][i]["active"]:
|
||||||
|
if(i == 0):
|
||||||
|
continue
|
||||||
vlan_list.append({
|
vlan_list.append({
|
||||||
"id": i,
|
"id": i,
|
||||||
"name": state["vlans"][i]["name"],
|
"name": state["vlans"][i]["name"],
|
||||||
|
|||||||
Reference in new issue
Block a user