]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: peer_af_flag_modify_vty assumes 1 flag at a time 6661/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 1 Jul 2020 13:00:59 +0000 (09:00 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 1 Jul 2020 19:48:27 +0000 (15:48 -0400)
commitdb45f64dd2dddffbabc5a9b2010e85cabdc4e61a
tree3c16f07ec40bb392ce8e83de97a5f5728f5a7c1f
parent8f36f59ad989c2e66b1235a5db5afbec302ec10d
bgpd: peer_af_flag_modify_vty assumes 1 flag at a time

We have a bunch of code in bgp_vty.c that was passing
to peer_af_flag_modify_vty more than 1 flag at a time.
This was causing the underlying routines to get the
flags wrong.  In order to prevent this convert all the
places where we send multiple flags down to this function
to individual flag changes.

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