]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: Drop 'pref medium' in route checks
authorDavid Ahern <dsahern@gmail.com>
Sun, 17 May 2020 18:00:33 +0000 (12:00 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 May 2020 19:26:55 +0000 (12:26 -0700)
commit9f05b6ff63ad31616d9ca5ef96f70581691951c2
treed3dfb5f617fd163029c7edf39ebb5b1f13b65e16
parent658adede2db50e0cf8873d5095a5fe832dd5b754
selftests: Drop 'pref medium' in route checks

The 'pref medium' attribute was moved in iproute2 to be near the prefix
which is where it applies versus after the last nexthop. The nexthop
tests were updated to drop the string from route checking, but it crept
in again with the compat tests.

Fixes: fd1e40ea17f1 ("selftests: net: add new testcases for nexthop API compat mode sysctl")
Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_nexthops.sh