Thread (4 messages) read the whole thread 4 messages, 4 authors, 2020-07-28

Re: [bpf-next PATCH] bpf, selftests: use ::1 for localhost in tcp_server.py

From: Andrii Nakryiko <hidden>
Date: 2020-07-28 18:39:51
Also in: bpf

On Tue, Jul 28, 2020 at 7:40 AM John Fastabend [off-list ref] wrote:
Using localhost requires the host to have a /etc/hosts file with that
specific line in it. By default my dev box did not, they used
ip6-localhost, so the test was failing. To fix remove the need for any
/etc/hosts and use ::1.

I could just add the line, but this seems easier.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
---
Makes sense.

Acked-by: Andrii Nakryiko <redacted>

 tools/testing/selftests/bpf/tcp_client.py |    2 +-
 tools/testing/selftests/bpf/tcp_server.py |    2 +-
 tools/testing/selftests/bpf/test_netcnt.c |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help