bjorn at mork.no
Mon Nov 5 10:17:05 CET 2012
Arran Cudbard-Bell <a.cudbardb at freeradius.org> writes:
>>> Yes. Though it looks like ERX-Dhcp-Options is defined wrongly as a string in the vendor's dictionary, i'll go fix that...
>> Heh. So it works as is, with no additional hacks.
> If anyone wants the octally escaped string to hex code I put it up here:
Nice. But you do know that C isn't exactly the best language for string
manipulation? Alternative version:
perl -e 'print "0x", unpack("H*", eval "qq#".shift."#")'
OK, yours is readable :-)
More information about the Freeradius-Devel