]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_fsm.c
bgpd: use the enum instead of an int
authorDonald Sharp <sharpd@nvidia.com>
Thu, 3 Nov 2022 23:01:36 +0000 (19:01 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 15 Dec 2022 12:31:55 +0000 (07:31 -0500)
commit881979e427b394c451719ff9c0639e8e56421908
treea7ce140b99c6fcdcbaf5e467e50133d17360fe91
parent9da878b66abb654c46b99e529bb01e7878999a9f
bgpd: use the enum instead of an int

The bgp_fsm_change_status function takes an int
for the new bgp state, which is an `enum bgp_fsm_status status`
let's convert over to being explicit.bgpd: use the enum instead of an int

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