mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-06 22:44:38 +08:00
Initialize the tcp listen pcb netif_idx to NETIF_NO_INDEX.
Signed-off-by: goldsimon <goldsimon@gmx.de>
This commit is contained in:
parent
cbbfb1356c
commit
fb9fabb87c
@ -753,6 +753,7 @@ tcp_listen_with_backlog_and_err(struct tcp_pcb *pcb, u8_t backlog, err_t *err)
|
|||||||
lpcb->state = LISTEN;
|
lpcb->state = LISTEN;
|
||||||
lpcb->prio = pcb->prio;
|
lpcb->prio = pcb->prio;
|
||||||
lpcb->so_options = pcb->so_options;
|
lpcb->so_options = pcb->so_options;
|
||||||
|
lpcb->netif_idx = NETIF_NO_INDEX;
|
||||||
lpcb->ttl = pcb->ttl;
|
lpcb->ttl = pcb->ttl;
|
||||||
lpcb->tos = pcb->tos;
|
lpcb->tos = pcb->tos;
|
||||||
#if LWIP_IPV4 && LWIP_IPV6
|
#if LWIP_IPV4 && LWIP_IPV6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user