[v4.0.x] dhcpclient - autoloading of base DHCP attributes

Chaigneau, Nicolas nicolas.chaigneau at capgemini.com
Tue May 22 16:10:21 CEST 2018


Hello,


It seems that this recent commit broke dhcpclient :

https://github.com/FreeRADIUS/freeradius-server/commit/b8d01b77a5889d56002ef1d03a6aac52bcddae80

Function fr_pair_find_by_da is called with da = NULL.

The offending line is (fr_dhcpv4_encode) :
src/protocols/dhcpv4/base.c:295
vp = fr_pair_find_by_da(vps, attr_dhcp_opcode, TAG_ANY);

Autoloading of base DHCP attributes does not seem to work.
Not sure how to fix this though, can you look into this ?


Regards,
Nicolas.


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


More information about the Freeradius-Devel mailing list