]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_debug.c
bgpd: don't use DECLVAR without qobj pointer
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 10 Aug 2017 21:01:59 +0000 (17:01 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 10 Aug 2017 21:05:08 +0000 (17:05 -0400)
commit87f42c2cfaa50e61805b67d14a9102361f5c2ccc
tree3a666d25c81b7a6473f2653b41fc04cd02c488d6
parent043abefeb24c34a51a37345d0b928bbf38f1e632
bgpd: don't use DECLVAR without qobj pointer

Since we don't actually have a BGP context until we enter into the
`router bgp` node, debugging commands which use DECLVAR before that
happens will fail. This is just `no debug bgp` and `no debug bgp
updates`. Instead just iterate over all bgp instances and do the deed.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_debug.c