summaryrefslogtreecommitdiffstats
path: root/lib/route/route_utils.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-11-17 15:09:08 (GMT)
committerThomas Graf <tgraf@suug.ch>2010-11-17 15:09:08 (GMT)
commitcf5577d280b59411ff77da727812465a4a01f4d7 (patch)
treede94591e7ed2c73a306a33224c0da76125de9973 /lib/route/route_utils.c
parent98ffedec040226169d66af210f8b580a41e4d201 (diff)
downloadlibnl-cf5577d280b59411ff77da727812465a4a01f4d7.zip
libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.gz
libnl-cf5577d280b59411ff77da727812465a4a01f4d7.tar.bz2
constify struct trans_tbl
Diffstat (limited to 'lib/route/route_utils.c')
-rw-r--r--lib/route/route_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/route_utils.c b/lib/route/route_utils.c
index 9fc8cf7..8b73f2b 100644
--- a/lib/route/route_utils.c
+++ b/lib/route/route_utils.c
@@ -139,7 +139,7 @@ int rtnl_route_str2proto(const char *name)
* @{
*/
-static struct trans_tbl route_metrices[] = {
+static const struct trans_tbl route_metrices[] = {
__ADD(RTAX_UNSPEC, unspec)
__ADD(RTAX_LOCK, lock)
__ADD(RTAX_MTU, mtu)