selftests: net: fix nexthop warning cleanup double ip typo
[platform/kernel/linux-rpi.git] / tools / testing / selftests / net / fib_nexthops.sh
index d1257a3..4afc4b2 100755 (executable)
@@ -1157,8 +1157,8 @@ ipv4_fcnal()
        [ $out1 -eq $out2 ]
        rc=$?
        log_test $rc 0 "Delete nexthop route warning"
-       run_cmd "$IP ip route delete 172.16.101.1/32 nhid 12"
-       run_cmd "$IP ip nexthop del id 12"
+       run_cmd "$IP route delete 172.16.101.1/32 nhid 12"
+       run_cmd "$IP nexthop del id 12"
 }
 
 ipv4_grp_fcnal()