Build of v4.0.x fails : missing include (in src/protocols/dhcpv4/decode.c)

Alan DeKok aland at deployingradius.com
Thu Feb 22 16:13:25 CET 2018


On Feb 19, 2018, at 4:13 AM, Chaigneau, Nicolas <nicolas.chaigneau at capgemini.com> wrote:
> About this error:
> 
>> src/protocols/dhcpv4/decode.c: In function ‘fr_dhcpv4_decode_option’:
>> src/protocols/dhcpv4/decode.c:376:55: error: ‘FR_VENDOR_SPECIFIC’ undeclared (first use in this function); did you mean ‘_SC_DEVICE_SPECIFIC’?
>> parent = fr_dict_attr_child_by_num(packet_ctx->root, FR_VENDOR_SPECIFIC);
>>                                                      ^~~~~~~~~~~~~~~~~~
>>                                                      _SC_DEVICE_SPECIFIC

  It works for me, which is a bit weird.  But I've pushed a fix.

  Alan DeKok.




More information about the Freeradius-Devel mailing list