Fix compile when IPv4 is disabled

This commit is contained in:
Dirk Ziegelmeier
2016-12-05 22:01:58 +01:00
parent a6bc422729
commit 1687721600
7 changed files with 14 additions and 8 deletions

View File

@@ -579,7 +579,7 @@ lwiperf_tcp_accept(void *arg, struct tcp_pcb *newpcb, err_t err)
void*
lwiperf_start_tcp_server_default(lwiperf_report_fn report_fn, void* report_arg)
{
return lwiperf_start_tcp_server(IP4_ADDR_ANY, LWIPERF_TCP_PORT_DEFAULT,
return lwiperf_start_tcp_server(IP_ADDR_ANY, LWIPERF_TCP_PORT_DEFAULT,
report_fn, report_arg);
}