[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: hex is not working in 4.0.x
From:       Arran Cudbard-Bell <a.cudbardb () freeradius ! org>
Date:       2019-12-16 14:31:28
Message-ID: CA1C2117-CBE5-4028-865F-DAFA6880FF19 () freeradius ! org
[Download RAW message or body]


> 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@freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic