-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
regexp characters: ^ $parameter _
does not work on Quagga router
#91
Comments
Based on the Quagga documentation the regexp seems to be the right one. The idea behind the "AS" command is to display BGP route coming from a given ASN. So if my understanding is correct the regexp should be Reading the Quagga doc though made me wondering if the proper regexp would |
^ $paramter _
does not work on Quagga router^ $parameter _
does not work on Quagga router
We're using Quagga (version 0.99.24.1). Cheers, |
So I guess this issue is more about what we are expecting from the command. Maybe this command should be a shortcut to |
Since the command specifically states ORIGIN_AS, it should match the last AS in the path. What do you think? |
The current regexp characters used for
protected function build_as()
function does not work.Current Code:
https://github.com/respawner/looking-glass/blob/master/routers/quagga.php#L62
The previous code does:
I tested
^$AS_NUMBER$
, but it doesn't seem to also work.I'm not entirely sure why, but perhaps the $AS_NUMBER is not in the beginning of the string to be captured by
^
. Also, it must be in the end as it is capture by$
(previous code) and not_
(current code).The text was updated successfully, but these errors were encountered: