diff --git a/cmd_parser.c b/cmd_parser.c index 3a1da620..5c7e0dfd 100644 --- a/cmd_parser.c +++ b/cmd_parser.c @@ -2002,9 +2002,8 @@ void cmd_parser(void) __banked } 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) - { port_pvid_set(atoi_results_u8, atoi_results_short); - } else { + else { cmd_error("pvid <1-4094>\n"); } } else if (cmd_compare(0, "vlan")) { diff --git a/doc/lacp.md b/doc/lacp.md index 3160469a..390261da 100644 --- a/doc/lacp.md +++ b/doc/lacp.md @@ -96,7 +96,6 @@ mismatch should be rejected or applied to the whole group. #define LACP_FAST_PERIODIC 0x0032 /* fast TX 1 s; partner expires at 3 s */ #define LACP_SLOW_PERIODIC 0x05dc /* slow TX 30 s; partner expires at 90 s */ #define LACP_SHORT_TIMEOUT 0x00c8 /* silent partner dropped after 4 s (802.3ad: 3 s) */ -#define LACP_LONG_TIMEOUT 0x1770 /* long-timeout variant, after 120 s (802.3ad: 90 s) */ ``` One unit is one step of the LACP timers, taken every four system ticks, so 50