This fix generates a regex string for search pattern using in send_command function for MikroTik devices. This regex expression searches not just the prompt string, but the prompt string exactly at the end of the output string, without any symbols after it. It prevents premature termination of the collecting data process.
This fix generates a regex string for search pattern using in send_command function for MikroTik devices. This regex expression searches not just the prompt string, but the prompt string exactly at the end of the output string, without any symbols after it. It prevents premature termination of the collecting data process.
Checked on hardware: