freeradius: fix vlan logging
This commit is contained in:
parent
2f4c6a53d8
commit
058fe0b3f5
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ linelog linelog_inner_postauth {
|
||||||
reference = {{ 'messages.%{%{reply:Packet-Type}:-default}' | enquote }}
|
reference = {{ 'messages.%{%{reply:Packet-Type}:-default}' | enquote }}
|
||||||
|
|
||||||
messages {
|
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 }}
|
Access-Reject = {{ '${...linelog_inner_prefix} rejected "%{jsonquote:%{User-Name}}" (%{%{Module-Failure-Message}:-unknown})' | enquote }}
|
||||||
default = {{ '${...linelog_inner_prefix} unknown packet type %{Packet-Type}' | 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 }}
|
reference = {{ 'messages.%{%{reply:Packet-Type}:-default}' | enquote }}
|
||||||
|
|
||||||
messages {
|
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 }}
|
Access-Reject = {{ '${...linelog_outer_prefix} rejected "%{jsonquote:%{User-Name}}" (%{%{Module-Failure-Message}:-unknown})' | enquote }}
|
||||||
default = {{ '${...linelog_outer_prefix} unknown packet type %{Packet-Type}' | enquote }}
|
default = {{ '${...linelog_outer_prefix} unknown packet type %{Packet-Type}' | enquote }}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue