]> git.puffer.fish 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>
Sat, 20 Oct 2018 15:39:05 +0000 (12:39 -0300)
commit6282637da16571ea90cfaf658fe092792f7841ed
tree0f08ad4224f69d9c6d95055a4b869ea32d20b76a
parentfbcdff8229519bce83f34ea327f6000d21c24d61
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