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

Hyperlink ASN only when square-bracketed #47

Closed
wants to merge 1 commit into from

Conversation

tamihiro
Copy link
Contributor

@tamihiro tamihiro commented Apr 4, 2019

When show protocols all ... is selected, bird's output includes AS4 to suggest 4-byte ASN capability, which bird-lg in turn treats like an ASN and creates a whois hyperlink.

image

The patch I'm submitting tweaks regex with positive lookbehind assertion so it matches only when preceded by [ which is kind of a dirty hack but I believe is less confusing for users.

@tamihiro
Copy link
Contributor Author

tamihiro commented Jun 9, 2019

closing my PR #42, #45, and #47. will repost these patches with hopefully more organized manner.

@tamihiro tamihiro closed this Jun 9, 2019
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.

None yet

1 participant