hex is not working in 4.0.x
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Mon Dec 16 15:31:28 CET 2019
> Now it is broken,
>
> (0) EXPAND 0x%{hex:%{DHCP-Client-Hardware-Address}}
>
> (0) EXPAND %{DHCP-Client-Hardware-Address}
>
> (0) --> 00:a0:bc:6c:7d:3a
>
> (0) EXPAND %{hex:%{DHCP-Client-Hardware-Address}}
>
> (0) (%{hex:00:a0:bc:6c:7d:3a})
>
> (0) --> 000000000000
>
> (0) --> 0x000000000000
Sorry about that. There was even a unit test explicitly testing this type of call to the hex xlat, but unfortunately there was an issue with the test utility.
I've pushed a fix, it should be fine now.
-Arran
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
More information about the Freeradius-Users
mailing list