From: Alan T. DeKok Date: Wed, 1 Aug 2012 22:55:26 +0000 (-0700) Subject: V6-enable the log filename X-Git-Tag: release_2_2_0~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3553885196d2a784e5be7f80aa10ed846213bb9c;p=thirdparty%2Ffreeradius-server.git V6-enable the log filename --- diff --git a/raddb/modules/detail.log b/raddb/modules/detail.log index 9b11245bff4..c36dce75c6d 100644 --- a/raddb/modules/detail.log +++ b/raddb/modules/detail.log @@ -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 }