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

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to