]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: bgp_event_update switch to a switch
authorDonald Sharp <sharpd@nvidia.com>
Fri, 25 Aug 2023 14:28:02 +0000 (10:28 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 25 Aug 2023 14:28:02 +0000 (10:28 -0400)
commitd4a9b103b7e1af87643fc9542ca9dff6da967c37
treed0d587f8719ac86e3e80538efd1883bc894714d3
parent8dd97a7404255d77115182aa4a2bd7cd58fcd9e3
bgpd: bgp_event_update switch to a switch

The return code from a event handling perspective
is an enum.  Let's intentionally make it a switch
so that all cases are ensured to be covered now
and in the future.

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