Eliminate tcpip_pppos_input function

This commit is contained in:
Dirk Ziegelmeier
2016-02-22 21:00:00 +01:00
parent e90591bb78
commit fe8d2ba72f
3 changed files with 2 additions and 23 deletions

View File

@@ -444,7 +444,7 @@ pppos_input_tcpip(ppp_pcb *ppp, u8_t *s, int l)
}
pbuf_take(p, s, l);
err = tcpip_pppos_input(p, ppp_netif(ppp));
err = tcpip_inpkt(p, ppp_netif(ppp), pppos_input_sys);
if (err != ERR_OK) {
pbuf_free(p);
}
@@ -895,4 +895,5 @@ failed:
pbuf_free(nb);
return err;
}
#endif /* PPP_SUPPORT && PPPOS_SUPPORT */