]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fix crashes when no default bgp instance is configured.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 1 Dec 2016 14:11:12 +0000 (09:11 -0500)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 1 Dec 2016 15:28:12 +0000 (16:28 +0100)
commit34620e24b5d8fcb0d66f77dfb39bcd8da636564a
treeb35fda838d1df43cdf6a437fb9889d030e86fad0
parent94d95cde35b09388d5e1d23ae44b129be0b14673
bgpd: Fix crashes when no default bgp instance is configured.

The vnc code assumes that bgp must have a default instance.
This code change checks to make sure that we do before
proceeding.  It makes no assurances that vnc will behave
correctly without a default instance.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
bgpd/rfapi/rfapi_import.c
bgpd/rfapi/vnc_import_bgp.c