Merge pull request #609 from mintsoft/vlan-manager-fixes

VLAN manager UI/fixes
This commit is contained in:
feelfree69 authored and GitHub committed 2026-10-26 13:59:39 +01:00
commit 4c3e1fde81
3 files changed
+328 -179

No files matched your search

+2 -2
View File
@@ -2015,10 +2015,10 @@ void cmd_parser(void) __banked
cmd_error("lacp (show | off); a group starts LACP with: lag <1-4> lacp <port>...\n");
} else if (cmd_compare(0, "pvid")) {
if (cmd_words_len == 3 && cmd_parse_port_separator(cmd_words_b[1]) != 0
&& atoi_short(cmd_words_b[2]) && atoi_results_short && atoi_results_short <= 4094)
&& atoi_short(cmd_words_b[2]) && atoi_results_short <= 4094)
port_pvid_set(atoi_results_u8, atoi_results_short);
else {
cmd_error("pvid <port> <1-4094>\n");
cmd_error("pvid <port> <0-4094>\n");
}
} else if (cmd_compare(0, "vlan")) {
parse_vlan();