]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
selftests: fib_rule_tests: fix local IPv4 address typo
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 20 May 2019 04:36:54 +0000 (12:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Jun 2019 06:18:04 +0000 (08:18 +0200)
[ Upstream commit fc82d93e57e3d41f79eff19031588b262fc3d0b6 ]

The IPv4 testing address are all in 192.51.100.0 subnet. It doesn't make
sense to set a 198.51.100.1 local address. Should be a typo.

Fixes: 65b2b4939a64 ("selftests: net: initial fib rule tests")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/fib_rule_tests.sh

index d84193bdc307fcd4cf204785dfe7a5d7e51cdb43..dbd90ca73e44fb26002ce381572c5bbd290cc87d 100755 (executable)
@@ -55,7 +55,7 @@ setup()
 
        $IP link add dummy0 type dummy
        $IP link set dev dummy0 up
-       $IP address add 198.51.100.1/24 dev dummy0
+       $IP address add 192.51.100.1/24 dev dummy0
        $IP -6 address add 2001:db8:1::1/64 dev dummy0
 
        set +e