* There is only a limited number of possibilities.
*/
switch (request->reply->code) {
- case PW_CODE_AUTHENTICATION_ACK:
+ case PW_CODE_ACCESS_ACCEPT:
RDEBUG2("Proxied authentication succeeded");
/*
break;
default:
- case PW_CODE_AUTHENTICATION_REJECT:
+ case PW_CODE_ACCESS_REJECT:
RDEBUG("Proxied authentication did not succeed");
return 0;
}