diff options
| author | Lakshman Krishnamoorthy <lkrishnamoor@vmware.com> | 2019-11-12 14:02:05 -0800 |
|---|---|---|
| committer | Lakshman Krishnamoorthy <lkrishnamoor@vmware.com> | 2019-11-12 14:02:05 -0800 |
| commit | 10d5be75aa99fef20acca97c4441e18982f8dad9 (patch) | |
| tree | 0d3a273766a066ac54d6e516d2c64764cf5f652b /zebra/zebra_errors.h | |
| parent | a6ac9df8eaed9a27c5a7711d354e2ba39d8bcb02 (diff) | |
bgpd: Bug fix in "show bgp l2vpn evpn ... advertised-routes'
The bug:
As part of displaying advertised routes to a peer, in the outer loop, we
iterate through all prefixes in the evpn table. In the inner loop,
we iterate through adj_out of each prefix.
If a prefix which is present in the evpn table is not advertised to a peer,
its corresponding attr == NULL. Checking for this condition is the fix.
Signed-off-by: Lakshman Krishnamoorthy <lkrishnamoor@vmware.com>
Diffstat (limited to 'zebra/zebra_errors.h')
0 files changed, 0 insertions, 0 deletions
