mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-05 22:29:49 +00:00
PPP, display correct pbuf size in ppp_input() debug messages
This commit is contained in:
parent
aff890bce8
commit
70b60bbe16
@ -678,13 +678,13 @@ void ppp_input(ppp_pcb *pcb, struct pbuf *pb) {
|
||||
switch(protocol) {
|
||||
|
||||
case PPP_IP: /* Internet Protocol */
|
||||
PPPDEBUG(LOG_INFO, ("ppp_input[%d]: ip in pbuf len=%d\n", pcb->netif->num, pb->len));
|
||||
PPPDEBUG(LOG_INFO, ("ppp_input[%d]: ip in pbuf len=%d\n", pcb->netif->num, pb->tot_len));
|
||||
ip_input(pb, pcb->netif);
|
||||
return;
|
||||
|
||||
#if PPP_IPV6_SUPPORT
|
||||
case PPP_IPV6: /* Internet Protocol Version 6 */
|
||||
PPPDEBUG(LOG_INFO, ("ppp_input[%d]: ip6 in pbuf len=%d\n", pcb->netif->num, pb->len));
|
||||
PPPDEBUG(LOG_INFO, ("ppp_input[%d]: ip6 in pbuf len=%d\n", pcb->netif->num, pb->tot_len));
|
||||
ip6_input(pb, pcb->netif);
|
||||
return;
|
||||
#endif /* PPP_IPV6_SUPPORT */
|
||||
|
Loading…
Reference in New Issue
Block a user