rt_names can't be const

Needs to be built at runtime.
This commit is contained in:
Stephen Hemminger 2014-12-20 11:36:54 -08:00
parent b00daf6a83
commit b0d30f7f3f

View 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",
};