[PATCH, RFC 2/3] BGP: Correctly handle changes to c->{check_link, bfd} when reconfiguring.

Lennert Buytenhek buytenh at wantstofly.org
Thu Mar 9 16:32:13 CET 2017


On Thu, Mar 09, 2017 at 04:28:43PM +0100, Ondrej Zajicek wrote:

> > Since the area between 'struct proto_config c' and 'char *password'
> > in 'struct bgp_config' is compared using memcmp() in bgp_reconfigure(),
> > move ->check_link and ->bfd so that they are part of that area.  Also
> > add a note to 'struct bgp_config' to avoid this tripping up people in
> > the future.
> 
> Having 'check_link' and 'bfd' outside was intentional, they can be
> reconfigured without a session flap.

OK!


More information about the Bird-users mailing list