]> git.ipfire.org Git - thirdparty/iproute2.git/commit
lib/rt_names: Drop dead code in rtnl_rttable_n2a()
authorPhil Sutter <phil@nwl.cc>
Thu, 17 Aug 2017 17:09:28 +0000 (19:09 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 22 Aug 2017 00:12:21 +0000 (17:12 -0700)
commitb3c5f84493d3399a546566475203207aa5b64d54
tree875111922108e65d4ed7c65a44c84c0cafe325f6
parent2a866256197f8b86e61fa1afc99b11d7056d5686
lib/rt_names: Drop dead code in rtnl_rttable_n2a()

Since 'id' is 32bit unsigned, it can never exceed RT_TABLE_MAX (which is
defined to 0xFFFFFFFF). Therefore drop that never matching conditional.

Signed-off-by: Phil Sutter <phil@nwl.cc>
lib/rt_names.c