HEX Stripping using attr_rewrite
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Wed Jun 4 12:33:02 CEST 2014
> But that's pretty nasty.
I guess we should modify rlm_unpack to take length specifiers and add a char/byte type.
That's the nice way to solve this for v3.0.x. It's also generally useful for doing substring
extraction when you're really just wanting to pull out an offset/length.
Regexes work for that, but they're overkill, and less efficient that just copying the bytes.
-Arran
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140604/8fea9a45/attachment.pgp>
More information about the Freeradius-Users
mailing list