diff --git a/roles/freeradius/templates/mods-available/linelog.j2 b/roles/freeradius/templates/mods-available/linelog.j2 index 8cb08df..3590d5e 100644 --- a/roles/freeradius/templates/mods-available/linelog.j2 +++ b/roles/freeradius/templates/mods-available/linelog.j2 @@ -18,7 +18,7 @@ linelog linelog_inner_postauth { reference = {{ 'messages.%{%{reply:Packet-Type}:-default}' | enquote }} messages { - Access-Accept = {{ '${...linelog_inner_prefix} accepted "%{jsonquote:%{User-Name}}" (VLAN %{reply:Tunnel-Private-Group-Id:-unknown})' | enquote }} + Access-Accept = {{ '${...linelog_inner_prefix} accepted "%{jsonquote:%{User-Name}}" (VLAN %{%{reply:Tunnel-Private-Group-Id}:-unknown})' | enquote }} Access-Reject = {{ '${...linelog_inner_prefix} rejected "%{jsonquote:%{User-Name}}" (%{%{Module-Failure-Message}:-unknown})' | enquote }} default = {{ '${...linelog_inner_prefix} unknown packet type %{Packet-Type}' | enquote }} } @@ -47,7 +47,7 @@ linelog linelog_outer_postauth { reference = {{ 'messages.%{%{reply:Packet-Type}:-default}' | enquote }} messages { - Access-Accept = {{ '${...linelog_outer_prefix} accepted "%{jsonquote:%{User-Name}}" (VLAN %{reply:Tunnel-Private-Group-Id:-unknown})' | enquote }} + Access-Accept = {{ '${...linelog_outer_prefix} accepted "%{jsonquote:%{User-Name}}" (VLAN %{%{reply:Tunnel-Private-Group-Id}:-unknown})' | enquote }} Access-Reject = {{ '${...linelog_outer_prefix} rejected "%{jsonquote:%{User-Name}}" (%{%{Module-Failure-Message}:-unknown})' | enquote }} default = {{ '${...linelog_outer_prefix} unknown packet type %{Packet-Type}' | enquote }} }