]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Fix crashes with '[no] neighbor ... shutdown ..' command
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 3 May 2017 13:13:12 +0000 (09:13 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 3 May 2017 13:13:12 +0000 (09:13 -0400)
commitae9b0e11f6d19460ed633265cf275a1d3b747e88
tree130e3cc633c5f9e21df7c0343f9a2b1a46cdd925
parent1c72f1a08da59224e41a7c4d470491eeba3f09ee
bgpd: Fix crashes with '[no] neighbor ... shutdown ..' command

This fixes two crashes:

1) When we enter a 'neighbor shutdown..' command for a peer
group or interface based peer we were not properly looking
up the peer.

2) When we we enter 'no neighbor shutdown..' command for
a peer group or interface based peer we were not properly
lookup up the peer.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_vty.c