5 Nov
2012
5 Nov
'12
4:17 a.m.
Arran Cudbard-Bell <a.cudbardb@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: https://gist.github.com/4013951
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 :-) Bjørn