[v4.0.x] fr_pair_list_afrom_file is broken (dhcpclient, radclient)
aland at deployingradius.com
Tue Jun 5 16:13:06 CEST 2018
On Jun 5, 2018, at 9:33 AM, Chaigneau, Nicolas <nicolas.chaigneau at capgemini.com> wrote:
> v4.0.x dhcpclient is currently broken (most likely radclient is too).
> When reading value pairs from stdin or a file (function fr_pair_list_afrom_file), only the first value pair is returned.
> (It does parse all the vps though, because if I try an invalid attribute name, an error is returned.)
> It worked not long ago (May 22nd).
Yes. Arran has been refactoring some code, and things have been broken.
> Maybe this change is the culprit?
That was a fix for some of the other breakages.
The real fix is to call fr_radius_init() in radclient. I've pushed a fix which works for me.
More information about the Freeradius-Devel