]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Convert #define of bgp fsm events to an enum
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 20 Mar 2020 00:19:50 +0000 (20:19 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 20 Mar 2020 22:01:53 +0000 (18:01 -0400)
commitd1060698b49d3c2863bff92b2915c88e956d0c59
tree13ad11ddd09638a7597373d186d614485944eeee
parentc133ddca171985ff301ba84f1793a5e77ae9befc
bgpd: Convert #define of bgp fsm events to an enum

In PR #6052 which fixes issue #5963 the bgp fsm events
were confused with the bgp fsm status leading
to a bug.  Let's start separating those out
so these types of failures cannot just
easily occur.

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