mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 21:44:38 +08:00
PPP, display MTU set through netif_set_mtu() if debug is enabled
This commit is contained in:
parent
341f0bf9e3
commit
aacc222b7d
@ -1283,6 +1283,7 @@ int sifnpmode(ppp_pcb *pcb, int proto, enum NPmode mode) {
|
|||||||
void netif_set_mtu(ppp_pcb *pcb, int mtu) {
|
void netif_set_mtu(ppp_pcb *pcb, int mtu) {
|
||||||
|
|
||||||
pcb->netif->mtu = mtu;
|
pcb->netif->mtu = mtu;
|
||||||
|
PPPDEBUG(LOG_INFO, ("netif_set_mtu[%d]: mtu=%d\n", pcb->netif->num, mtu));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user