From: Brian Candler Date: Fri, 15 Feb 2013 09:30:48 +0000 (+0000) Subject: rlm_rediswho: fix unlang conditional expansion X-Git-Tag: release_2_2_1~141^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F192%2Fhead;p=thirdparty%2Ffreeradius-server.git rlm_rediswho: fix unlang conditional expansion --- diff --git a/raddb/modules/rediswho b/raddb/modules/rediswho index 470dbadcad..e16550c999 100644 --- a/raddb/modules/rediswho +++ b/raddb/modules/rediswho @@ -14,15 +14,15 @@ rediswho { # an update in this time will be automatically expired. expire-time = 86400 - start-insert = "LPUSH %{User-Name} %l,%{Acct-Session-Id},%{NAS-IP-Address},%{Acct-Session-Time},%{Framed-IP-Address},%{Acct-Input-Gigawords:-0},%{Acct-Output-Gigawords:-0},%{Acct-Input-Octets:-0},%{Acct-Output-Octets:-0}" + start-insert = "LPUSH %{User-Name} %l,%{Acct-Session-Id},%{NAS-IP-Address},%{Acct-Session-Time},%{Framed-IP-Address},%{%{Acct-Input-Gigawords}:-0},%{%{Acct-Output-Gigawords}:-0},%{%{Acct-Input-Octets}:-0},%{%{Acct-Output-Octets}:-0}" start-trim = "LTRIM %{User-Name} 0 ${trim-count}" start-expire = "EXPIRE %{User-Name} ${expire-time}" - alive-insert = "LPUSH %{User-Name} %l,%{Acct-Session-Id},%{NAS-IP-Address},%{Acct-Session-Time},%{Framed-IP-Address},%{Acct-Input-Gigawords:-0},%{Acct-Output-Gigawords:-0},%{Acct-Input-Octets:-0},%{Acct-Output-Octets:-0}" + alive-insert = "LPUSH %{User-Name} %l,%{Acct-Session-Id},%{NAS-IP-Address},%{Acct-Session-Time},%{Framed-IP-Address},%{%{Acct-Input-Gigawords}:-0},%{%{Acct-Output-Gigawords}:-0},%{%{Acct-Input-Octets}:-0},%{%{Acct-Output-Octets}:-0}" alive-trim = "LTRIM %{User-Name} 0 ${trim-count}" alive-expire = "EXPIRE %{User-Name} ${expire-time}" - stop-insert = "LPUSH %{User-Name} %l,%{Acct-Session-Id},%{NAS-IP-Address},%{Acct-Session-Time},%{Framed-IP-Address},%{Acct-Input-Gigawords:-0},%{Acct-Output-Gigawords:-0},%{Acct-Input-Octets:-0},%{Acct-Output-Octets:-0}" + stop-insert = "LPUSH %{User-Name} %l,%{Acct-Session-Id},%{NAS-IP-Address},%{Acct-Session-Time},%{Framed-IP-Address},%{%{Acct-Input-Gigawords}:-0},%{%{Acct-Output-Gigawords}:-0},%{%{Acct-Input-Octets}:-0},%{%{Acct-Output-Octets}:-0}" stop-trim = "LTRIM %{User-Name} 0 ${trim-count}" stop-expire = "EXPIRE %{User-Name} ${expire-time}" }