]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix crash when using "show bgp vrf all"
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 7 Oct 2021 15:27:29 +0000 (18:27 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 8 Oct 2021 08:42:13 +0000 (11:42 +0300)
commit1c49e8138ee377692d8b683fc4bfe292f77b5004
tree75a03c124a4c1cc07516980817098221c30e2330
parentb7a88ee2910a1c76ccbae38a9e7226d6c93fff37
bgpd: fix crash when using "show bgp vrf all"

Any command that uses `peer_lookup_in_view` crashes when "vrf all" is
used, because bgp is NULL in this case.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgpd.c
tests/topotests/all_protocol_startup/test_all_protocol_startup.py