make some structures constant.
These pre-initialized arrays are not modified.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Feng Lu <lu.feng@6wind.com>
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index bdd319e..35685a7 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -50,7 +50,7 @@
static int rip_enable_network_lookup2 (struct connected *connected);
static void rip_enable_apply_all (void);
-struct message ri_version_msg[] =
+const struct message ri_version_msg[] =
{
{RI_RIP_VERSION_1, "1"},
{RI_RIP_VERSION_2, "2"},