mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-06 22:44:38 +08:00
Fixed copy&paste error found by travis-ci...
This commit is contained in:
parent
13ffc86aef
commit
0545eba002
@ -269,8 +269,8 @@ tcp_input(struct pbuf *p, struct netif *inp)
|
|||||||
prev = NULL;
|
prev = NULL;
|
||||||
for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) {
|
for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) {
|
||||||
/* check if PCB is bound to specific netif */
|
/* check if PCB is bound to specific netif */
|
||||||
if ((pcb->netif_idx != NETIF_NO_INDEX) &&
|
if ((lpcb->netif_idx != NETIF_NO_INDEX) &&
|
||||||
(pcb->netif_idx != netif_get_index(ip_data.current_input_netif))) {
|
(lpcb->netif_idx != netif_get_index(ip_data.current_input_netif))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user