diff --git a/frontend/webserver.go b/frontend/webserver.go index 6b12c5c..3512d92 100644 --- a/frontend/webserver.go +++ b/frontend/webserver.go @@ -19,13 +19,13 @@ import ( var primitiveMap = map[string]string{ "summary": "show protocols", - "detail": "show protocols all \"%s\"", - "route_from_protocol": "show route protocol \"%s\"", - "route_from_protocol_all": "show route protocol \"%s\" all", - "route_from_protocol_primary": "show route protocol \"%s\" primary", - "route_from_protocol_all_primary": "show route protocol \"%s\" all primary", - "route_filtered_from_protocol": "show route filtered protocol \"%s\"", - "route_filtered_from_protocol_all": "show route filtered protocol \"%s\" all", + "detail": "show protocols all \'%s\'", + "route_from_protocol": "show route protocol \'%s\'", + "route_from_protocol_all": "show route protocol \'%s\' all", + "route_from_protocol_primary": "show route protocol \'%s\' primary", + "route_from_protocol_all_primary": "show route protocol \'%s\' all primary", + "route_filtered_from_protocol": "show route filtered protocol \'%s\'", + "route_filtered_from_protocol_all": "show route filtered protocol \'%s\' all", "route_from_origin": "show route where bgp_path.last = %s", "route_from_origin_all": "show route where bgp_path.last = %s all", "route_from_origin_primary": "show route where bgp_path.last = %s primary",