]> git.puffer.fish Git - matthieu/frr.git/commitdiff
[zebra/cleanup] make message table read only
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Fri, 15 May 2009 17:47:04 +0000 (10:47 -0700)
committerPaul Jakma <paul@quagga.net>
Thu, 18 Jun 2009 19:18:30 +0000 (20:18 +0100)
zebra/kernel_socket.c

index e77b9b78b2ffac09e18ef00026696126e5894fd6..8beac71d3917f36f3a54e466343e1645d8e5678b 100644 (file)
@@ -161,7 +161,7 @@ const struct message rtm_type_str[] =
   {0,            NULL}
 };
 
-struct message rtm_flag_str[] =
+static const struct message rtm_flag_str[] =
 {
   {RTF_UP,        "UP"},
   {RTF_GATEWAY,   "GATEWAY"},