fix: " cuase unexpected TEXT but ' not

This commit is contained in:
Ljcbaby
2025-10-03 21:52:49 +08:00
committed by Yuhui Xu
parent 4a8c752157
commit 1097e69070

View File

@@ -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",