v4.0.x - DHCP - incomplete decoding of IPv4 attribute
aland at deployingradius.com
Thu Feb 22 14:52:41 CET 2018
On Feb 21, 2018, at 7:01 PM, Chaigneau, Nicolas <nicolas.chaigneau at capgemini.com> wrote:
> Although an ethernet address is indeed on 6 bytes, the DHCP field "chaddr" is padded to 16 characters with zeroes.
> I've fixed this by restoring these lines here:
> case FR_TYPE_ETHERNET:
> memcpy(vp->vp_ether, p, sizeof(vp->vp_ether));
I've pushed a fix, thanks.
More information about the Freeradius-Devel