bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin KaFai Lau <kafai@fb.com>
To: Vincent Li <vincent.mc.li@gmail.com>
Cc: <bpf@vger.kernel.org>, <daniel@iogearbox.net>
Subject: Re: [PATCH bpf-next] selftests, bpf: test_tc_tunnel.sh nc: cannot use -p and -l
Date: Tue, 20 Jul 2021 11:19:13 -0700	[thread overview]
Message-ID: <20210720181913.ps2qj7ttxszijv5i@kafai-mbp.dhcp.thefacebook.com> (raw)
In-Reply-To: <20210719223022.66681-1-vincent.mc.li@gmail.com>

On Mon, Jul 19, 2021 at 03:30:22PM -0700, Vincent Li wrote:
> When run test_tc_tunnel.sh, it complains following error
> 
> ipip
> encap 192.168.1.1 to 192.168.1.2, type ipip, mac none len 100
> test basic connectivity
> nc: cannot use -p and -l
> 
> nc man page has:
> 
>      -l  Listen for an incoming connection rather than initiating
>          a connection to a remote host.Cannot be used together with
>          any of the options -psxz. Additionally, any timeouts specified
>          with the -w option are ignored.
> 
> Correct nc in server_listen().
I have two distros and both work with -p in listen.
However, they also work the same without -p, so it makes sense to remove it.

Acked-by: Martin KaFai Lau <kafai@fb.com>

  reply	other threads:[~2021-07-20 18:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-19 22:30 [PATCH bpf-next] selftests, bpf: test_tc_tunnel.sh nc: cannot use -p and -l Vincent Li
2021-07-20 18:19 ` Martin KaFai Lau [this message]
2021-07-20 19:38   ` Vincent Li
2021-07-20 20:50 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210720181913.ps2qj7ttxszijv5i@kafai-mbp.dhcp.thefacebook.com \
    --to=kafai@fb.com \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=vincent.mc.li@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).