diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-08-25 12:15:27 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-08-25 12:15:27 +0200 |
commit | 2bf9780b268d29161154e90af3fd6929298eef7e (patch) | |
tree | 3abe62eb3ab46a2e29ae1e5d96e5bf79610edbd3 /version.h | |
parent | Merge pull request #11829 from donaldsharp/time_32_bits (diff) | |
download | frr-2bf9780b268d29161154e90af3fd6929298eef7e.tar.xz frr-2bf9780b268d29161154e90af3fd6929298eef7e.zip |
bgpd: Do not print new line for EVPN CLI outputs if it's a JSON
Before:
```
$ vtysh -c 'show bgp l2vpn evpn route detail json'
<<<<<<<<<<<<<<<<<<<< empty line
<<<<<<<<<<<<<<<<<<<< empty line
<<<<<<<<<<<<<<<<<<<< empty line
<<<<<<<<<<<<<<<<<<<< empty line
{
...
"numPrefix":4,
"numPaths":4 <<<<< four paths = four empty lines
}
```
Contain as much "empty lines" before the JSON string as the number
of paths displayed.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'version.h')
0 files changed, 0 insertions, 0 deletions