The firmware never displays vlan 0, we shouldn't either

This commit is contained in:
Rob Emery committed 2026-10-27 07:45:30 +00:00
1 parent 3694363001
commit f22bf9cf82
1 file changed
+2
+2
View File
@@ -552,6 +552,8 @@ class Handler(SimpleHTTPRequestHandler):
vlan_list = []
for i in state["vlans"].keys():
if i in state["vlans"] and state["vlans"][i]["active"]:
if(i == 0):
continue
vlan_list.append({
"id": i,
"name": state["vlans"][i]["name"],