]> 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)
commitb52b408908819507f699fa7f0cb7a0e239480d3f
treed3dfb5f617fd163029c7edf39ebb5b1f13b65e16
parent5fbfd1a44ea0ac8167ceafb407597936be9c3ff6
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: 5d30c7de862c ("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