selftests/bpf: use localhost in tcp_{server,client}.py
authorStanislav Fomichev <sdf@google.com>
Mon, 4 Feb 2019 18:43:19 +0000 (10:43 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 4 Feb 2019 20:29:27 +0000 (21:29 +0100)
commit7e8a5903774bc5ce76efc1ed2782fa906e58f8a8
treebf0eaff7514b47154c6740cb3fce04a4c0219ca9
parentecc15f113c8e8748cc304ed6d8beb825a432b34c
selftests/bpf: use localhost in tcp_{server,client}.py

Bind and connect to localhost. There is no reason for this test to
use non-localhost interface. This lets us run this test in a network
namespace.

Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/tcp_client.py
tools/testing/selftests/bpf/tcp_server.py