On 18 Mar 2014, at 22:29, Callum Barr <callumb@vibecommunications.co.nz> wrote:
Thank you so much Arran - just what I was after :)
Sorry that should of been: update request { Tmp-Octets-0 := "0x%{1}" Tmp-Octets-1 := "0x%{2}" } Or with the new rlm_unpack module Alan just added. update request { Tmp-Integer-0 := "%{unpack:&Alc-Acct-I-Hiprio-Octets_64 0 short}" Tmp-Integer64-0 := "%{unpack:&Alc-Acct-I-Hiprio-Octets_64 2 integer64}" } Which is much nicer. In the later versions of the server there's also a dhcp_options xlat you can use to decode the forwarded DHCP options if you're using the Alcatel as a DHCP server for something like IPoE/metro QinQ type termination. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2