[bgpd/cleanup] Make BGP FSM table read-only static

The finite state machine table is immutable.
This commit is contained in:
Stephen Hemminger 2009-05-15 10:02:27 -07:00 committed by Paul Jakma
parent 0088b5dc55
commit fda1d3e033

View File

@ -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] =