summaryrefslogtreecommitdiffstats
path: root/tools/git-reindent-branch.py
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2025-01-22 15:35:06 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2025-01-27 11:50:32 +0100
commite78a049c490939be87fa0f5c8c5443b51996d2ab (patch)
treeb3e9ff85ee616d70880a6a59f0d77ffb825f3bbe /tools/git-reindent-branch.py
parenttopotests: bgp_vpnv4_noretain, check presence of locpref in adj-rib-out (diff)
downloadfrr-e78a049c490939be87fa0f5c8c5443b51996d2ab.tar.xz
frr-e78a049c490939be87fa0f5c8c5443b51996d2ab.zip
bgpd: fix missing braces when dumping json vpn advertised-routes
The json output of advertised-routes is incorrect, as there is a missing brace with route-distinguisher: observed with the bgp_vpnv4_noretain test: > "bgpTableVersion":0,"bgpLocalRouterId":"192.0.2.1","defaultLocPrf":100,"localAS":65500, > "advertisedRoutes": "192.0.2.1:1":{"rd":"192.0.2.1:1","10.101.0.0/24":{"prefix":"10.101.0.0/24", expected: > "bgpTableVersion":0,"bgpLocalRouterId":"192.0.2.1","defaultLocPrf":100,"localAS":65500, > "advertisedRoutes": { "192.0.2.1:1":{"rd":"192.0.2.1:1","10.101.0.0/24":{"prefix":"10.101.0.0/24", > ^ > missing brace Fix this by adding the missing braces. Fixes: 4838bac033a7 ("bgpd: neighbors received-routes/advertised-routes stringify changes") Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'tools/git-reindent-branch.py')
0 files changed, 0 insertions, 0 deletions