summaryrefslogtreecommitdiff
path: root/lib/route/nexthop.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/route/nexthop.c')
-rw-r--r--lib/route/nexthop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/nexthop.c b/lib/route/nexthop.c
index 44c31a7..48cbfcf 100644
--- a/lib/route/nexthop.c
+++ b/lib/route/nexthop.c
@@ -269,7 +269,7 @@ uint32_t rtnl_route_nh_get_realms(struct rtnl_nexthop *nh)
* @{
*/
-static struct trans_tbl nh_flags[] = {
+static const struct trans_tbl nh_flags[] = {
__ADD(RTNH_F_DEAD, dead)
__ADD(RTNH_F_PERVASIVE, pervasive)
__ADD(RTNH_F_ONLINK, onlink)