diff options
| author | Lakshman Krishnamoorthy <lkrishnamoor@vmware.com> | 2019-11-21 16:18:04 -0800 |
|---|---|---|
| committer | Lakshman Krishnamoorthy <lkrishnamoor@vmware.com> | 2019-11-21 16:18:04 -0800 |
| commit | 06931fdb128f7f80b7934c0bd31d0690ed9682fd (patch) | |
| tree | 104a9b726063ac7296e9a3448107bd7f297885c7 /lib/if.c | |
| parent | 2d7ef3bba7eeb00adf2aceeca4747b59f4ac5fc7 (diff) | |
zebra: "show evpn vni details json" prints incorrect JSON format
edge-2> show evpn vni detail json
{
"vni":79031,
"type":"L3",
...,
...
} <<<<<< no comma
{
"vni":79021,
"type":"L3",
...,
...
} <<<<<< no comma
{
} <<<<<< blank
edge-2>
The fix is to pack json info into json_array before printing it.
Signed-off-by: Lakshman Krishnamoorthy <lkrishnamoor@vmware.com>
Diffstat (limited to 'lib/if.c')
0 files changed, 0 insertions, 0 deletions
