5 Jun
2018
5 Jun
'18
12:56 p.m.
On Jun 5, 2018, at 11:40 AM, Chaigneau, Nicolas <nicolas.chaigneau@capgemini.com> wrote:
I think the following code is wrong:
https://github.com/FreeRADIUS/freeradius-server/blob/v4.0.x/src/lib/util/pai...
do { fr_cursor_append(&cursor, vp); } while (vp->next && (vp = vp->next));
From what I understand, fr_cursor_append allows to add a single item at the end of the list. But here, vp can be a list of vps (multiple vps can be passed in on a single line).
Yeah, I pushed a fix. Alan DeKok.