diff options
| author | Chirag Shah <chirag@nvidia.com> | 2023-01-20 23:21:01 -0800 |
|---|---|---|
| committer | Chirag Shah <chirag@nvidia.com> | 2023-01-20 23:24:44 -0800 |
| commit | 1ffbb2e487b8bf0dd5ac1f936645f78106aec6e5 (patch) | |
| tree | 15c01fae9c092b3f69f01d48082c30acc811418a /python/xref2vtysh.py | |
| parent | e9dbc60ee2764c0ed92dcffa7d5ffa50faf57062 (diff) | |
ospfd: fix crash show ip ospf border-routers json
When show ip ospf border-routers json (without vrf)
specificed, it leads to crash if there no border-routers
information.
Fix:
Do not free json object if use_vrf flag (means vrf option
is not passed) is not set.
Ticket:#3229017
Issue:3229017
Testing Done:
with fix:
l1# show ip ospf border-routers json
{
}
l1# show ip ospf vrf default border-routers json
{
}
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'python/xref2vtysh.py')
0 files changed, 0 insertions, 0 deletions
