mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-26 16:12:55 +00:00
fixed bug #44565: PPPOS support in tcpip thread breaks SLIP
This commit is contained in:
parent
9012ec5310
commit
e0fe83740a
@ -115,9 +115,9 @@ tcpip_thread(void *arg)
|
|||||||
} else
|
} else
|
||||||
#endif /* LWIP_ETHERNET */
|
#endif /* LWIP_ETHERNET */
|
||||||
#if PPPOS_SUPPORT
|
#if PPPOS_SUPPORT
|
||||||
/* FIXME: can be generalized to all point to point interfaces */
|
if (((msg->msg.inp.netif->flags & NETIF_FLAG_BROADCAST) == 0)
|
||||||
if ((msg->msg.inp.netif->flags & NETIF_FLAG_BROADCAST) == 0
|
&& msg->msg.inp.netif->input
|
||||||
&& msg->msg.inp.netif->input) {
|
&& (msg->msg.inp.netif->input != tcpip_input)) {
|
||||||
msg->msg.inp.netif->input(msg->msg.inp.p, msg->msg.inp.netif);
|
msg->msg.inp.netif->input(msg->msg.inp.p, msg->msg.inp.netif);
|
||||||
} else
|
} else
|
||||||
#endif /* PPPOS_SUPPORT */
|
#endif /* PPPOS_SUPPORT */
|
||||||
|
Loading…
Reference in New Issue
Block a user