]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
V6-enable the log filename
authorAlan T. DeKok <aland@freeradius.org>
Wed, 1 Aug 2012 22:55:26 +0000 (15:55 -0700)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 2 Aug 2012 16:41:26 +0000 (09:41 -0700)
raddb/modules/detail.log

index 9b11245bff499c14df85c620ed74ae649e509428..c36dce75c6d41b7470bd177a27ed96d3fe3dafe5 100644 (file)
@@ -15,7 +15,7 @@
 #  in the 'authorize' section, below.
 #
 detail auth_log {
-       detailfile = ${radacctdir}/%{Client-IP-Address}/auth-detail-%Y%m%d
+       detailfile = ${radacctdir}/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d
 
        #
        #  This MUST be 0600, otherwise anyone can read
@@ -37,7 +37,7 @@ detail auth_log {
 #  in the 'post-auth' section, below.
 #
 detail reply_log {
-       detailfile = ${radacctdir}/%{Client-IP-Address}/reply-detail-%Y%m%d
+       detailfile = ${radacctdir}/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d
 
        detailperm = 0600
 }
@@ -49,7 +49,7 @@ detail reply_log {
 #  in the 'pre-proxy' section, below.
 #
 detail pre_proxy_log {
-       detailfile = ${radacctdir}/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d
+       detailfile = ${radacctdir}/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d
 
        #
        #  This MUST be 0600, otherwise anyone can read
@@ -69,7 +69,7 @@ detail pre_proxy_log {
 #  in the 'post-proxy' section, below.
 #
 detail post_proxy_log {
-       detailfile = ${radacctdir}/%{Client-IP-Address}/post-proxy-detail-%Y%m%d
+       detailfile = ${radacctdir}/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d
 
        detailperm = 0600
 }