mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-27 15:16:03 +00:00
Simon says: dual-stack does not work on iperf because there IPs encoded in the payloads and IPv6 is not supported there in the current lwIP implementation -> revert
This commit is contained in:
parent
ce370ec48f
commit
eead3a7038
@ -603,11 +603,7 @@ lwiperf_start_tcp_server(const ip_addr_t* local_addr, u16_t local_port,
|
|||||||
s->report_fn = report_fn;
|
s->report_fn = report_fn;
|
||||||
s->report_arg = report_arg;
|
s->report_arg = report_arg;
|
||||||
|
|
||||||
if(IP_IS_ANY_TYPE_VAL(*local_addr)) {
|
pcb = tcp_new();
|
||||||
pcb = tcp_new_ip_type(IPADDR_TYPE_ANY);
|
|
||||||
} else {
|
|
||||||
pcb = tcp_new();
|
|
||||||
}
|
|
||||||
if (pcb != NULL) {
|
if (pcb != NULL) {
|
||||||
err = tcp_bind(pcb, local_addr, local_port);
|
err = tcp_bind(pcb, local_addr, local_port);
|
||||||
if (err == ERR_OK) {
|
if (err == ERR_OK) {
|
||||||
|
Loading…
Reference in New Issue
Block a user