Okis Chuang wrote:
> Actually I can write a short perl script to do this, but I try to do
> with pure unlang.

  Unlang is not really intended to do that.

> In fact, the reason why I need this function is that sometimes we treat
> some attributes as temporary variable for generating another attribute
> value pair.

  Use Tmp-String-0, or Tmp-Octets-0 instead.  That way the problem goes
away.  See "dictionary.freeradius.internal" for more examples.

> Then erase it before sending request or reply out. So I am wondering
> would majority of FR user do this things like this?

  And you don't need to erase the Tmp-* attributes before sending a
packet.  They will *never* show up in a packet.

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

Reply via email to