//lcp_close(0, "Auth failed");
status = EXIT_AUTH_TOPEER_FAILED;
//}
- maxfail=5;
persist=1;
/* XXX if we can do CHAP_MICROSOFT as well, we should
probably put in another option saying so */
//lcp_close(0, "Auth failed");
status = EXIT_AUTH_TOPEER_FAILED;
//}
- maxfail=5;
persist=1;
break;
}
* the interface MTU is set to the lower of that and the
* MTU we want to use.
*/
- mtu = ho->neg_mru? ho->mru: pppMtu; // USR9108
+ mtu = ho->neg_mru? ho->mru: PPP_MRU;
#ifdef HAVE_MULTILINK
if (!(multilink && go->neg_mrru && ho->neg_mrru))
#endif /* HAVE_MULTILINK */
netif_set_mtu(f->unit, MIN(mtu, ao->mru));
- ppp_send_config(f->unit, mtu,
+ ppp_send_config(f->unit, MIN(mtu, ao->mru),
(ho->neg_asyncmap? ho->asyncmap: 0xffffffff),
ho->neg_pcompression, ho->neg_accompression);
ppp_recv_config(f->unit, (go->neg_mru? MAX(wo->mru, go->mru): PPP_MRU),