OSDN Git Service

selftests: Consistently specify address for MD5 protection
authorDavid Ahern <dsahern@gmail.com>
Thu, 14 Jan 2021 03:09:45 +0000 (20:09 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 00:26:49 +0000 (16:26 -0800)
commita824e261d7cd95b0f04a3feff51f8e0fe2881b44
tree47e0d694a7a0003e0f7662d19d92492687224d19
parent9a8d584964fc808080a855b435507fe5094f2160
selftests: Consistently specify address for MD5 protection

nettest started with -r as the remote address for MD5 passwords.
The -m argument was added to use prefixes with a length when that
feature was added to the kernel. Since -r is used to specify
remote address for client mode, change nettest to only use -m
for MD5 passwords and update fcnal-test script.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/fcnal-test.sh
tools/testing/selftests/net/nettest.c