]> git.puffer.fish Git - mirror/frr.git/commit
zebra: fix json for show evpn arp-cache vni vtep 6314/head
authorPat Ruddy <pat@voltanet.io>
Wed, 29 Apr 2020 11:22:14 +0000 (12:22 +0100)
committerPat Ruddy <pat@voltanet.io>
Wed, 29 Apr 2020 11:29:09 +0000 (12:29 +0100)
commit1cc5b09394677251f0f0c46703bf6095e231b5b0
tree68939e84ee2e625ab768208bf403ee72f93f5a4a
parentf6be73082788c4be246b9b71f50237bbad40bfc8
zebra: fix json for show evpn arp-cache vni vtep

The function zebra_vxlan_print_neigh_vni_vtep does not create
a json object when json has been requested from the CLI and as a
result it prints out the information in normal CLI format.
Fix is to allocate the json object when required.

Signed-off-by: Pat Ruddy <pat@voltanet.io>
zebra/zebra_vxlan.c