hex is not working in 4.0.x

Alan DeKok aland at deployingradius.com
Mon Dec 16 15:29:13 CET 2019

> On Dec 16, 2019, at 5:37 AM, Chinnapaiyan, Nagamani <Nagamani.Chinnapaiyan at viasat.com> wrote:
> hex conversion of mac address used to work previously,
> (0)        EXPAND 0x%{hex:%{DHCP-Client-Hardware-Address}}

   That should work, but it's also not necessary.  You can just copy anything to an "octets" type, and it will work:

	update request {
		Tmp-Octets-0 := &DHCP-Client-Hardware-Address

  And then the Tmp-Octets-0 can be printed, etc as hex.

  We'll look into this issue and push a fix.

  Alan DeKok.

More information about the Freeradius-Users mailing list