]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
rt_names can't be const
authorStephen Hemminger <shemming@brocade.com>
Sat, 20 Dec 2014 19:36:54 +0000 (11:36 -0800)
committerStephen Hemminger <shemming@brocade.com>
Sat, 20 Dec 2014 19:36:54 +0000 (11:36 -0800)
Needs to be built at runtime.

lib/rt_names.c

index 1698036bc069ef44c905a27104c3f8508d1d8251..e87c65dad39e670957849c158db06b5e62e34bd3 100644 (file)
@@ -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",
 };