selftests: net: fix nexthop warning cleanup double ip typo
authorNikolay Aleksandrov <razor@blackwall.org>
Fri, 1 Apr 2022 15:54:27 +0000 (18:54 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Apr 2022 12:09:05 +0000 (13:09 +0100)
commit692930cc435099580a4b9e32fa781b0688c18439
tree7e302daca754ddffa17ac3595ad06fb84f69d3c2
parent5a48b7433a5aee719ab242d2feadaf4c9e065989
selftests: net: fix nexthop warning cleanup double ip typo

I made a stupid typo when adding the nexthop route warning selftest and
added both $IP and ip after it (double ip) on the cleanup path. The
error doesn't show up when running the test, but obviously it doesn't
cleanup properly after it.

Fixes: 392baa339c6a ("selftests: net: add delete nexthop route warning test")
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_nexthops.sh