mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-07 16:56:45 +08:00
PPP, display MTU set through netif_set_mtu() if debug is enabled
This commit is contained in:
@@ -1283,6 +1283,7 @@ int sifnpmode(ppp_pcb *pcb, int proto, enum NPmode mode) {
|
||||
void netif_set_mtu(ppp_pcb *pcb, int mtu) {
|
||||
|
||||
pcb->netif->mtu = mtu;
|
||||
PPPDEBUG(LOG_INFO, ("netif_set_mtu[%d]: mtu=%d\n", pcb->netif->num, mtu));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user