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