mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-09-13 02:05:43 +00:00
added necessary pppSingleBuf() call before passing the packet to the appropriate PPP subsystem
This commit is contained in:
parent
88ef3ffa50
commit
89ab390719
@ -273,6 +273,7 @@ static void ppp_input(void *arg) {
|
||||
*/
|
||||
for (i = 0; (protp = protocols[i]) != NULL; ++i) {
|
||||
if (protp->protocol == protocol && protp->enabled_flag) {
|
||||
nb = pppSingleBuf(nb);
|
||||
(*protp->input)(pd, nb->payload, nb->len);
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user