Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #138/3f3e0d05 backport][stable-1] Update routeros.py #143

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Nov 8, 2020

This is a backport of PR #138 as merged into main (3f3e0d0).

Adjust the terminal detection line to support forward slashes in device hostnames (connections fail without clear reason otherwise)

SUMMARY

My RouterOS units have forward slashes in their system identities. The way the regex is structured prevents terminal detection from succeeding in this case, and devices will fail silently. The regex is still probably overly strict, but it fixed my problem.

ISSUE TYPE
  • Bugfix Pull Request

* Update routeros.py

Adjust the terminal detection line to support forward slashes in device hostnames (connections fail without clear reason otherwise)

* Add changelog fragment.

Co-authored-by: Felix Fontein <[email protected]>
(cherry picked from commit 3f3e0d0)
@felixfontein felixfontein merged commit f3eaa48 into stable-1 Nov 8, 2020
@felixfontein felixfontein deleted the patchback/backports/stable-1/3f3e0d05a12124bed614a6790bcc23e610835a43/pr-138 branch November 8, 2020 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants