Skip to content
Commit c5b2a16d authored by Fengming Ye's avatar Fengming Ye Committed by Fabio Baltieri
Browse files

net: zperf: fix download ipv6 bind fail on specific ip address



For command zperf udp download 5001 192.168.10.1,
zperf will bind both ipv4 and ipv6 sockets on ipv4 address.
But bind ipv6 socket will fail, thus command return fail.

Fix it by check ip address when zperf download.
For ipv4 address only bind ipv4 socket.
For ipv6 address only bind ipv6 socket.
For unspecific address bind both ipv4 and ipv6 sockets.

Signed-off-by: default avatarFengming Ye <frank.ye@nxp.com>
parent e64fc33e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment