]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: show ip ospf route json does not shown metric and tag
authorMobashshera Rasool <mrasool@vmware.com>
Wed, 30 Jun 2021 07:17:58 +0000 (07:17 +0000)
committerMobashshera Rasool <mrasool@vmware.com>
Wed, 30 Jun 2021 07:23:38 +0000 (07:23 +0000)
commit67df36493d3cfad01fbd2847b7cfe4a416701b2a
tree85c24cb889c826190419d3e93556cddfb099cfd7
parent309f6af6054f915c061f738d7a97801e1166ea22
ospfd: show ip ospf route json does not shown metric and tag

Problem Statement:
==================
[FRR OSPF] show ip ospf route json does not shown metric and tag.

Root Cause Analysis:
===================
In function show_ip_ospf_route_external, type 2 cost is not added in json.
Hence it is not displayed.

Fix:
=================
1. Add type2cost in the json display
2. Tag was also missing, added that as well

Issue: #8729

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
ospfd/ospf_vty.c