]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix the "no neighbor A.B.C.D maximum-prefix" command
authorRenato Westphal <renato@opensourcerouting.org>
Fri, 19 Oct 2018 18:54:05 +0000 (15:54 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 17 Dec 2018 14:14:04 +0000 (12:14 -0200)
commitbbb15e714a32cb7d7c08878c389342c50b972cde
tree237cea313e6cae11f57614e21e9aa9c3421e0603
parent446c0f0d122c7c2ddc76ee182af85d1cdbc70e78
bgpd: fix the "no neighbor A.B.C.D maximum-prefix" command

The peer->group pointer is set only if the PEER_STATUS_GROUP flag is
set in the peer. Add a protection to prevent a NULL pointer dereference.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
bgpd/bgpd.c