mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-10 19:46:51 +00:00
[bgpd/cleanup] Make BGP FSM table read-only static
The finite state machine table is immutable.
This commit is contained in:
parent
0088b5dc55
commit
fda1d3e033
@ -901,7 +901,7 @@ bgp_ignore (struct peer *peer)
|
||||
}
|
||||
|
||||
/* Finite State Machine structure */
|
||||
struct {
|
||||
static const struct {
|
||||
int (*func) (struct peer *);
|
||||
int next_state;
|
||||
} FSM [BGP_STATUS_MAX - 1][BGP_EVENTS_MAX - 1] =
|
||||
|
Loading…
Reference in New Issue
Block a user