diff --git a/cmd_parser.c b/cmd_parser.c index d4c4df8b..33d4c6c3 100644 --- a/cmd_parser.c +++ b/cmd_parser.c @@ -1419,7 +1419,7 @@ void parse_eee(void) speed_word = 2; } else if (cmd_is_space_or_nul(idx)) { // Word 2 is a port number - if (cmd_parse_port_separator(idx) == 0) { + if (cmd_parse_port_separator(cmd_words_b[2]) == 0) { cmd_error("Speed word invalid, use: [100m|1g|2g5]\n"); return; }