Commit cd4dcabb authored by Tomas Hlavacek's avatar Tomas Hlavacek

BIRD show route protocol ... ? in AS field fixed.

parent d3e1bff3
......@@ -171,7 +171,7 @@ class BirdShowRouteCommand(ulgmodel.TextCommand):
# expected input is "[AS28171i]"
m = bird_asfield_regexp.match(asfield)
if(m):
return '['+decorator_helper.ahref(defaults.getASNURL(m.group(1)),'AS'+m.group(1))+'i]'
return '['+decorator_helper.ahref(defaults.getASNURL(m.group(1)),'AS'+m.group(1))+m.group(2)+']'
else:
return asfield
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment