Merge pull request #554 from DrDoof/cleanup/vlanlist-dead-test

httpd: drop a test in send_vlanlist() that can never be true
This commit is contained in:
René van Dorst authored and GitHub committed 2026-10-05 06:11:32 +00:00
commit 36a064d03d
1 file changed
+1 -2
+1 -2
View File
@@ -1118,8 +1118,7 @@ void send_vlanlist(void)
slen += strtox(outbuf + slen, ",\"vlan\":[");
for (i = 1; i < 4095; i++) {
if (vlan_get(i) < 0)
continue;
vlan_get(i);
if (!(sfr_data[0] & 0x02)) /* bit 1: VLAN table entry valid */
continue;