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)
commit34632975cafdd07ce80e85c2eda4e9c16b5f2faa
treedb47db56f9558f8ddd37eb53a0f23f3d17167273
parent2bcd9d842b500a2f0c9338e75fdd23ece24ac687
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: fc82d93e57e3 ("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