PPP, display MTU set through netif_set_mtu() if debug is enabled

This commit is contained in:
Sylvain Rochet 2015-04-30 23:41:47 +02:00
parent 341f0bf9e3
commit aacc222b7d

View File

@ -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));
}
/*