mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +00:00
fixed compilation for LWIp_SNMP && PPP_INPROC_MULTITHREADED
This commit is contained in:
parent
838c35acf6
commit
dfb80c6b86
@ -1829,7 +1829,7 @@ pppInProc(PPPControlRx *pc, u_char *s, int l)
|
|||||||
PPPDEBUG((LOG_ERR, "pppInProc[%d]: tcpip_callback() failed, dropping packet\n", pc->pd));
|
PPPDEBUG((LOG_ERR, "pppInProc[%d]: tcpip_callback() failed, dropping packet\n", pc->pd));
|
||||||
pbuf_free(pc->inHead);
|
pbuf_free(pc->inHead);
|
||||||
LINK_STATS_INC(link.drop);
|
LINK_STATS_INC(link.drop);
|
||||||
snmp_inc_ifindiscards(netif);
|
snmp_inc_ifindiscards(&pppControl[pc->pd].netif);
|
||||||
}
|
}
|
||||||
#else /* PPP_INPROC_MULTITHREADED */
|
#else /* PPP_INPROC_MULTITHREADED */
|
||||||
pppInput(pc->inHead);
|
pppInput(pc->inHead);
|
||||||
|
Loading…
Reference in New Issue
Block a user