Commit 887a5d00 authored by Boian Bonev's avatar Boian Bonev Committed by Stephen Hemminger

Display local route table name correctly in output of:

	ip ru
parent 288384f2
......@@ -333,7 +333,7 @@ char * rtnl_rttable_n2a(__u32 id, char *buf, int len)
{
struct rtnl_hash_entry *entry;
if (id >= RT_TABLE_MAX) {
if (id > RT_TABLE_MAX) {
snprintf(buf, len, "%u", id);
return buf;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment