mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
zepif: Convert to dual-stack
This commit is contained in:
parent
d79416eee6
commit
104a629a51
@ -246,7 +246,7 @@ zepif_init(struct netif *netif)
|
|||||||
|
|
||||||
netif->state = NULL;
|
netif->state = NULL;
|
||||||
|
|
||||||
state->pcb = udp_new();
|
state->pcb = udp_new_ip_type(IPADDR_TYPE_ANY);
|
||||||
if (state->pcb == NULL) {
|
if (state->pcb == NULL) {
|
||||||
err = ERR_MEM;
|
err = ERR_MEM;
|
||||||
goto err_ret;
|
goto err_ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user