mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-09 08:16:58 +08:00
Merge branch 'tmp-freeradius-client-1.1.8' into 'master'
Work around API breakage in freeradius-client 1.1.8 Closes #650 See merge request openconnect/ocserv!453
This commit is contained in:
@@ -560,8 +560,16 @@ static int radius_auth_pass(void *ctx, const char *pass, unsigned int pass_len)
|
||||
oc_syslog(
|
||||
LOG_DEBUG,
|
||||
"radius-auth: ignoring server's attribute (%u,%u) of type %u",
|
||||
#ifndef ATTRID /* FreeRADIUS client >= 1.1.8 */
|
||||
(unsigned int)vp->attribute,
|
||||
#else
|
||||
(unsigned int)ATTRID(vp->attribute),
|
||||
#endif
|
||||
#ifndef VENDOR /* FreeRADIUS client >= 1.1.8 */
|
||||
(unsigned int)vp->vendor,
|
||||
#else
|
||||
(unsigned int)VENDOR(vp->attribute),
|
||||
#endif
|
||||
(unsigned int)vp->type);
|
||||
}
|
||||
vp = vp->next;
|
||||
|
||||
Reference in New Issue
Block a user