summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2014-11-03 01:20:09 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-05-26 01:16:33 +0000
commitbdcf8f59a49d01202c9740f4be9c5e51420a61a8 (patch)
treef5c2d35c9165e9981f6c6236d79dd9b4c04b5aac /ripd/rip_interface.c
parent0b1e756bbfc06fadbd447cd7b1956ee7782e625b (diff)
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> (cherry picked from commit 88d37b902bc8127379d3293b9671aa6a11479c23)
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index c9cccbbe1f..23d90a616d 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -50,7 +50,7 @@ static int rip_enable_if_lookup (const char *ifname);
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"},