Many "virtual" or "fake" attributes have been removed or renamed.
-`&Module-Return-Code` should be replaced by `%{interpreter:rcode}`.
+`&Module-Return-Code` should be replaced by `%(interpreter:rcode)`.
`&Response-Packet-Type` should be replaced by `&reply.Packet-Type`.
-`&Virtual-Server` should be replaced by `%{interpreter:server}`.
+`&Virtual-Server` should be replaced by `%(interpreter:server)`.
}
session {
# mode = auto
-# name = "%{EAP-Type}%{interpreter:server}"
+# name = "%{EAP-Type}%(interpreter:server)"
# lifetime = 86400
# require_extended_master_secret = yes
# require_perfect_forward_secrecy = no
== Interpreter State
The state of the interpreter can be queried via the
-`%{interpeter:<name>}` expansion. The individual expansions are
+`%(interpeter:<name>)` expansion. The individual expansions are
documented below.
Each expansion given here can be prefixed with one or more dot (`.`)
request via a `name`, or the parent request via `.name`. If there is
no parent, the expansion returns the string `<underflow>`.
-=== %{interpeter:module}
+=== %(interpeter:module)
The current module being executed. If the expansions is done in an
`unlang` statement and outside of any module, it returns the name of
the previous module which was executed.
-=== %{interpeter:processing_stage}
+=== %(interpeter:processing_stage)
Which section of a virtual server is processing the request.
-=== %{interpeter:rcode}
+=== %(interpeter:rcode)
The current interpreter return code, e.g. `handle`, or `ok`, etc.
-=== %{interpeter:server}
+=== %(interpeter:server)
The name of the virtual server which is running the request.
# NOTE: OpenSSL only allows 32 bytes of session ctx, so
# the value provided here is digested with SHA256.
#
-# name = "%{EAP-Type}%{interpreter:server}"
+# name = "%{EAP-Type}%(interpreter:server)"
#
# lifetime::
},
.dflt = "auto" },
{ FR_CONF_OFFSET("name", FR_TYPE_TMPL, fr_tls_cache_conf_t, id_name),
- .dflt = "%{EAP-Type}%{interpreter:server}", .quote = T_DOUBLE_QUOTED_STRING },
+ .dflt = "%{EAP-Type}%(interpreter:server)", .quote = T_DOUBLE_QUOTED_STRING },
{ FR_CONF_OFFSET("lifetime", FR_TYPE_TIME_DELTA, fr_tls_cache_conf_t, lifetime), .dflt = "1d" },
#if OPENSSL_VERSION_NUMBER >= 0x10100000L