OSDN Git Service

selftests: Make address validation apply only to client mode
authorDavid Ahern <dsahern@gmail.com>
Thu, 14 Jan 2021 03:09:44 +0000 (20:09 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Jan 2021 00:26:49 +0000 (16:26 -0800)
commit9a8d584964fc808080a855b435507fe5094f2160
treef07390b7a12447fb7f66d86621bb3dcbec5c6a04
parentdb9993359e58761e04d0dbee098dbf74d6a1dda8
selftests: Make address validation apply only to client mode

When a single instance of nettest is used for client and server
make sure address validation is only done for client mode.

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