added necessary pppSingleBuf() call before passing the packet to the appropriate PPP subsystem

This commit is contained in:
Sylvain Rochet 2012-06-02 02:44:18 +02:00
parent 88ef3ffa50
commit 89ab390719

View File

@ -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;
}