diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-15 10:02:27 -0700 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2009-06-18 20:18:28 +0100 |
commit | fda1d3e033f98c7e34ccdaead27e8df39af12a85 (patch) | |
tree | 636aef72183a2f9dc34305d02545a74fb48907ca | |
parent | 0088b5dc55a91d27e572484e61df71b8ca2eddf4 (diff) |
[bgpd/cleanup] Make BGP FSM table read-only static
The finite state machine table is immutable.
-rw-r--r-- | bgpd/bgp_fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_fsm.c b/bgpd/bgp_fsm.c index 92485731..bf4b66b0 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c @@ -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] = |