summaryrefslogtreecommitdiff
path: root/lib/link_state.c
diff options
context:
space:
mode:
authorSindhu Parvathi Gopinathan <sgopinathan@nvidia.com>2023-04-04 05:38:28 -0700
committerChirag Shah <chirag@nvidia.com>2023-04-04 19:41:25 -0700
commit61f3a6c353dee5fbbdf178e3b234dc4465ae99bc (patch)
tree8e8b1b74e212b513b868f3b24f01b0fd15eb9f9c /lib/link_state.c
parent92c4494ce5ef69ce436ed06fb03c352987dede0f (diff)
zebra:return empty dict when evpn is disabled
"show evpn json" returns nothing when evpn is disabled. Code has been fixed to return {} when evpn is disabled or no entry available. Before Fix:- ``` cumulus@r2:mgmt:~$ sudo vtysh -c "show evpn json" cumulus@r2:mgmt:~$ ``` After Fix:- ``` cumulus@r1:mgmt:~$ sudo vtysh -c "show evpn json" { } cumulus@r1:mgmt:~$ ``` Ticket:#3417955 Issue:3417955 Testing: UT done Signed-off-by: Chirag Shah <chirag@nvidia.com> Signed-off-by: Sindhu Parvathi Gopinathan <sgopinathan@nvidia.com>
Diffstat (limited to 'lib/link_state.c')
0 files changed, 0 insertions, 0 deletions