commit | fda1d3e033f98c7e34ccdaead27e8df39af12a85 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | Fri May 15 10:02:27 2009 -0700 |
committer | Paul Jakma <paul@quagga.net> | Thu Jun 18 20:18:28 2009 +0100 |
tree | 636aef72183a2f9dc34305d02545a74fb48907ca | |
parent | 0088b5dc55a91d27e572484e61df71b8ca2eddf4 [diff] |
[bgpd/cleanup] Make BGP FSM table read-only static The finite state machine table is immutable.
diff --git a/bgpd/bgp_fsm.c b/bgpd/bgp_fsm.c index 9248573..bf4b66b 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c
@@ -901,7 +901,7 @@ } /* Finite State Machine structure */ -struct { +static const struct { int (*func) (struct peer *); int next_state; } FSM [BGP_STATUS_MAX - 1][BGP_EVENTS_MAX - 1] =