From 0545eba002d25a0116daf7dddda8e7a7ce5527cf Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 2 May 2017 10:42:59 +0200 Subject: [PATCH] Fixed copy&paste error found by travis-ci... --- src/core/tcp_in.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/tcp_in.c b/src/core/tcp_in.c index edc5f2a9..a1beda17 100644 --- a/src/core/tcp_in.c +++ b/src/core/tcp_in.c @@ -269,8 +269,8 @@ tcp_input(struct pbuf *p, struct netif *inp) prev = NULL; for (lpcb = tcp_listen_pcbs.listen_pcbs; lpcb != NULL; lpcb = lpcb->next) { /* check if PCB is bound to specific netif */ - if ((pcb->netif_idx != NETIF_NO_INDEX) && - (pcb->netif_idx != netif_get_index(ip_data.current_input_netif))) { + if ((lpcb->netif_idx != NETIF_NO_INDEX) && + (lpcb->netif_idx != netif_get_index(ip_data.current_input_netif))) { continue; }