This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit edb3a0c7f85f8119252c0fc21584a979c6e61a9c Author: Yongrong Wang <[email protected]> AuthorDate: Mon Jul 28 13:54:44 2025 +0800 netutils/iperf: add the missing break after -a. The 'a' case fell through into 'c' and treated the abort request as a client run with a NULL server address. Signed-off-by: Yongrong Wang <[email protected]> Assisted-by: Kiro:claude-opus-4 --- netutils/iperf/iperf_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/netutils/iperf/iperf_main.c b/netutils/iperf/iperf_main.c index 36db8d883..fdce58db3 100644 --- a/netutils/iperf/iperf_main.c +++ b/netutils/iperf/iperf_main.c @@ -189,6 +189,7 @@ int main(int argc, FAR char *argv[]) break; case 'a': iperf.abort = 1; + break; case 'c': cfg.flag |= IPERF_FLAG_CLIENT; iperf.client = optarg;
