From: Stephen Hemminger Date: Sat, 20 Dec 2014 19:36:54 +0000 (-0800) Subject: rt_names can't be const X-Git-Tag: v3.18.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0d30f7f3f17cbd54c0806cfda921b416e6a6749;p=thirdparty%2Fiproute2.git rt_names can't be const Needs to be built at runtime. --- diff --git a/lib/rt_names.c b/lib/rt_names.c index 1698036bc..e87c65dad 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", };