Hello Juha,
On 03/06/2009 10:42 AM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
- open modules/auth_radius/authrad_mod.c
- locate mod_init function
- inside the function move following piece of code: vend = rc_dict_findvend(rh, "Cisco"); if (vend == NULL) { LM_DBG("no `Cisco' vendor in Radius dictionary\n"); attrs[A_CISCO_AVPAIR].n = NULL; }
before the line:
INIT_AV(rh, attrs, n, vals, V_MAX, "auth_radius", -5, -6);
daniel,
the above piece of Cisco specific code is already located before INIT_AV call.
yes, but it is also before: attrs[A_CISCO_AVPAIR].n = "Cisco-AVPair";
Should be after as I understood the logic there.
Cheers, Daniel