diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-05-03 21:16:45 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-05-05 22:27:01 +0300 |
| commit | d55811ccb2e31ab1e37d6e8e04c0121b6ace605c (patch) | |
| tree | 3bc0ffdf234a0c9c3145bc13c1ed4c4c99383097 /lib/srcdest_table.c | |
| parent | 44fb33ee585e865345e765143fdada2123875eae (diff) | |
bgpd: Set a proper SAFI for labaled-unicast when looking for scount
The problem is that peer_af_array returns NULL when SAFI is changed to
unicast. We use unicast table, but peer is created and activated under
labeled-unicast, hence we should lookup with a proper SAFI id.
Without this patch peer_af_find() returns NULL and we can't show
PfxSnt in `show bgp summary`.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/srcdest_table.c')
0 files changed, 0 insertions, 0 deletions
