Update PPPOS.c

This commit is contained in:
levkovigor 2021-08-19 19:06:01 +03:00 committed by GitHub
parent 945989ed87
commit 1f346c4f43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,10 +205,10 @@ void PPPOS_start(){
if (ppp == NULL) { if (ppp == NULL) {
return; return;
} }
}
pppapi_set_default(ppp); pppapi_set_default(ppp);
pppapi_set_auth(ppp, PPPAUTHTYPE_PAP, PPP_User, PPP_Pass); pppapi_set_auth(ppp, PPPAUTHTYPE_PAP, PPP_User, PPP_Pass);
ppp_set_usepeerdns(ppp, 1);} ppp_set_usepeerdns(ppp, 1);
pppapi_connect(ppp, 0); pppapi_connect(ppp, 0);
PPPOS_started = true; PPPOS_started = true;