diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-15 10:47:45 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-15 10:47:45 -0700 |
commit | 1d3bc91aac841b9b30b83fb47586ff3b66e94235 (patch) | |
tree | 77f56e9d283f3f99562e24f8d305b146939b2f99 /ospfd/ospfd.c | |
parent | 287e61f71993204d42dfd4ce338e2a72678e9fbc (diff) | |
download | quagga-1d3bc91aac841b9b30b83fb47586ff3b66e94235.tar.bz2 quagga-1d3bc91aac841b9b30b83fb47586ff3b66e94235.tar.xz |
OSPF make message lists read only
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r-- | ospfd/ospfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index f6a7fd8a..7c2698dc 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -1024,13 +1024,13 @@ ospf_remove_vls_through_area (struct ospf *ospf, struct ospf_area *area) } -struct message ospf_area_type_msg[] = +static const struct message ospf_area_type_msg[] = { { OSPF_AREA_DEFAULT, "Default" }, { OSPF_AREA_STUB, "Stub" }, { OSPF_AREA_NSSA, "NSSA" }, }; -int ospf_area_type_msg_max = OSPF_AREA_TYPE_MAX; +static const int ospf_area_type_msg_max = OSPF_AREA_TYPE_MAX; static void ospf_area_type_set (struct ospf_area *area, int type) |