\000 in "octets" attribute?
Erik Inge Bolsø
erik at linpro.no
Mon Jun 12 12:49:16 CEST 2006
Hello.
I'm having a curious problem with a vendor-specific single-byte
"octets"-attribute and attr_rewrite.
attr_rewrite att1 {
attribute = Vendor-Specific-Thingie
searchin = reply
searchfor = "0"
replacewith = "\000"
}
Essentially, I'm trying to rewrite an ascii "0" to a single-byte 0x00
value. But after this rewrite rule, a zero-byte value is returned
instead. Any way to get around this?
With \001, \002, etc, all's well.
(incidentally, this is freeradius version 1.0.1 in RHEL4)
--
Erik Bolsø
Linpro AS
More information about the Freeradius-Users
mailing list