commit | 887a5d00917e0b154668a506917d3187417c5e7c | [log] [tgz] |
---|---|---|
author | Boian Bonev <bbonev@ipacct.com> | Mon Nov 27 14:12:31 2006 -0800 |
committer | Stephen Hemminger <shemminger@osdl.org> | Mon Nov 27 14:12:31 2006 -0800 |
tree | 22e834d82e9f0eac51970ef287b4fb7f51007a8f | |
parent | 288384f22ffafd2d7d888ee45d8dfcf26d3f2b1c [diff] [blame] |
Display local route table name correctly in output of: ip ru
diff --git a/lib/rt_names.c b/lib/rt_names.c index 0e50559..8d019a0 100644 --- a/lib/rt_names.c +++ b/lib/rt_names.c
@@ -333,7 +333,7 @@ { struct rtnl_hash_entry *entry; - if (id >= RT_TABLE_MAX) { + if (id > RT_TABLE_MAX) { snprintf(buf, len, "%u", id); return buf; }