mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-07-04 20:08:57 +00:00
PPP: fix ppp_write internal documentation
This function returns an err_t, not a number of characters written.
This commit is contained in:
parent
5493220c93
commit
4e1f8effaf
|
@ -1003,9 +1003,6 @@ struct pbuf *ppp_singlebuf(struct pbuf *p) {
|
|||
* IPv4 and IPv6 packets from lwIP are sent, respectively,
|
||||
* with ppp_netif_output_ip4() and ppp_netif_output_ip6()
|
||||
* functions (which are callbacks of the netif PPP interface).
|
||||
*
|
||||
* RETURN: >= 0 Number of characters written
|
||||
* -1 Failed to write to device
|
||||
*/
|
||||
err_t ppp_write(ppp_pcb *pcb, struct pbuf *p) {
|
||||
#if PRINTPKT_SUPPORT
|
||||
|
|
Loading…
Reference in New Issue
Block a user