"Ali Majdzadeh" <[EMAIL PROTECTED]> wrote:
> (As suggested by the template itself)
>
> * *reply = pairmake ("User-Name", "root", T_OP_EQ);
> pairadd (&request->reply->vps, reply);
> request->reply->code = PW_USER_NAME;
No, that last line is wrong. Completely and totally wrong. No
template or examples suggests that you do that. Delete it.
> What specific code should I use when for example I want to send
> h323-credit-amount attribute to a NAS?
You don't use a code. You just refer to the attribute by name.
Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html