Rewriting sim implementation to be data driven

The value for enabled should be an int, not a string
This commit is contained in:
Rob Emery committed 2026-10-10 09:51:50 +01:00
1 parent dda873a633
commit eff3f42ae1
3 files changed
+24 -19

No files matched your search

+1 -1
View File
@@ -1852,7 +1852,7 @@ function lldpLoad(){
postCmd("port "+p.portNum+" lldp "+(this.checked?"permit":"block"))
.then(function(){setTimeout(lldpLoad,300)}).catch(function(){});
}}),h("i")]);
sw.firstChild.checked=p.enabled;
sw.firstChild.checked=p.permitted;
tr.insertCell().appendChild(sw);
});
});