mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-13 09:54:39 +08: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…
x
Reference in New Issue
Block a user