Patch: avpair.c - empty reply VALUE_PAIR (0x0) for replies with unknown vendor attributes
Alan DeKok
aland at deployingradius.com
Tue Jun 29 13:49:03 CEST 2010
Adam Lewis wrote:
> My solution to this - not necessarily the way forward, but at least a
> workaround - was to rename rc_avpair_gen() to old_rc_avpair_gen() and then
> wrap it a new version of rc_avpair_gen() which adds a dummy pair and then
> removes it when old_rc_avpair_gen() returns. For what it's worth, the code
> for (the new) rc_avpair_gen() is as follows:
The real fix is to do what the server does. Mark unknown attributes
as "unknown", and pass them straight through the system.
Alan DeKok.
More information about the Freeradius-Devel
mailing list