From b0d30f7f3f17cbd54c0806cfda921b416e6a6749 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Sat, 20 Dec 2014 11:36:54 -0800 Subject: [PATCH] rt_names can't be const Needs to be built at runtime. --- lib/rt_names.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rt_names.c b/lib/rt_names.c index 1698036b..e87c65da 100644 --- a/lib/rt_names.c +++ b/lib/rt_names.c @@ -196,7 +196,7 @@ int rtnl_rtprot_a2n(__u32 *id, const char *arg) return 0; } -static const char * rtnl_rtscope_tab[256] = { +static char * rtnl_rtscope_tab[256] = { "global", };