Stephan von Krawczynski <[EMAIL PROTECTED]> wrote:
> mydemouser      Acct-Status-Type == Start
>                 Exec-Program = "/usr/local/bin/mydemoscript %u %f %I"
> 
> My expectation was that %f gives me the same IP address I receive in the
> radacct protocol. But I end up with "?.?.?.?" and have no idea why.

  What the heck is the 'radacct' protocol?

  And %f is the Framed-IP-Address from the reply packet.  So it won't
work for Accounting-Requests.  Try:

...
                 Exec-Program = "/usr/local/bin/mydemoscript %u 
%{request:Framed-IP-Address} %I"


  Alan DeKok.

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

Reply via email to