]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: fib_rule_tests: use pre-defined DEV_ADDR
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 21 May 2019 06:40:47 +0000 (14:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 May 2019 20:44:17 +0000 (13:44 -0700)
commitedf1e785efb5ad8dfd94e966ae57dad0d40a57fc
treedb47db56f9558f8ddd37eb53a0f23f3d17167273
parent7c02cf29b56955f6220ad559b97a156d39237ee7
selftests: fib_rule_tests: use pre-defined DEV_ADDR

DEV_ADDR is defined but not used. Use it in address setting.
Do the same with IPv6 for consistency.

Reported-by: David Ahern <dsahern@gmail.com>
Fixes: 5ee583f884fe ("selftests: fib_rule_tests: fix local IPv4 address typo")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_rule_tests.sh