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>
Sat, 11 Aug 2012 07:24:39 +0000 (09:24 +0200)
raddb/mods-available/detail.log

index 9b11245..c36dce7 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
 }