diff options
| author | Lakshman Krishnamoorthy <lkrishnamoor@vmware.com> | 2019-09-27 11:45:38 -0700 |
|---|---|---|
| committer | Lakshman Krishnamoorthy <lkrishnamoor@vmware.com> | 2019-09-27 12:04:13 -0700 |
| commit | dc387b0fea1809aa082d40e497eb46a466c213b3 (patch) | |
| tree | 040d05cf536e64833a262b96180d8b4372e55718 /lib/northbound_cli.c | |
| parent | 5c256b572ca09b5d15b67ba0236c8a2678dda19c (diff) | |
bgpd: Fixing "show bgp l2vpn evpn neighbors x.x.x.x advertised-routes json
Display output from adj_out instead of the rib table.
Also fixes crash for the json output. RCA: prefix is written to json object
using inet_ntop. But, this api returns null buffer for AF_EVPN address family
(it works only for AF_INET and AF_INET6). This null buffer is then deref'd
by json-object-to string api.
Full output shown in PR: https://github.com/FRRouting/frr/pull/5078
Crash issue: https://github.com/FRRouting/frr/issues/5010
Signed-off-by: Lakshman Krishnamoorthy <lkrishnamoor@vmware.com>
Diffstat (limited to 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions
