Repeated usage of regex results like %{x}

Alan DeKok aland at ox.org
Thu Jan 26 18:35:02 CET 2006


Stephan Jaeger <stephan.jaeger at ewetel.de>wrote:
> request_data_get() deletes the data from the request after retrieving
> it, therefore it is not possible to use a regex value e.g. %{1} in
> rlm_policy twice like:

  Ah, that would be a bug.

  The solution is probably to add a "request_data_reference", which
returns a reference, but doesn't free the data.  Then make the regex
stuff call that.

  Alan DeKok.




More information about the Freeradius-Devel mailing list