commit | 4d9a264f09cd41fdf5896b03db8443fe1af32f14 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Tue Nov 11 01:38:21 2014 +0100 |
committer | Stephen Hemminger <shemming@brocade.com> | Sat Nov 22 13:52:44 2014 -0800 |
tree | 9f1dc410ea41b83013cc1ea7a6bcfdaf47773b96 | |
parent | e4fc7e2625a29c99a77f03584da82e75f2930534 [diff] |
utils: relax strtoX checking in get_time_rtt ip route change dev tap0 192.168.7.0/24 rto_min 1ms Error: argument "1ms" is wrong: "rto_min" value is invalid get_time_rtt() checks for 's' or 'msec' and converts to milliseconds if needed. Fixes: 697ac63905 (utils: fix range checking for get_u32/get_u64 et all) Signed-off-by: Florian Westphal <fw@strlen.de>