]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Use Module-Name and Module-Instance in global triggers
authorNick Porter <nick@portercomputing.co.uk>
Mon, 1 Sep 2025 08:48:10 +0000 (09:48 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 1 Sep 2025 08:48:10 +0000 (09:48 +0100)
raddb/trigger.conf

index 4c89614f0c541516a52bed4027eaa9930cdcae8c..cca0c820cdc6cbb3a9deeb435f24370e4abac860 100644 (file)
@@ -172,9 +172,10 @@ trigger {
        #  and these all support the following triggers relating to trunk
        #  connection state changes.
        #
-       #  Instead of globally configuring these triggers here, they should be configured per module instance
-       #  by including a `trigger` section within the module instance `pool` section.  That allows for
-       #  the `${.:name}` and `${.:instance}` expansions to reference the correct module name and instance name.
+       #  Instead of globally configuring these triggers here, they could be configured per module instance
+       #  by including a `trigger` section within the module instance `pool` section.  That allows for startup
+       #  expansions `${.:name}` and `${.:instance}` to reference the module name and instance name in place
+       #  of run-time expansions %{Module-Name} and %{Module-Instance}.
        #
        #  In addition to either enabling the triggers here or within the module `pool` section, for triggers
        #  to be enabled for a specific module instance, the `triggers` option within the `pool` section needs
@@ -184,7 +185,7 @@ trigger {
                #
                #  Define common arguments to use below:
                #
-#              args = "radiusdModuleName s '${.:name}' radiusdModuleInstance s '${.:instance}'"
+#              args = "radiusdModuleName s '%{Module-Name}' radiusdModuleInstance s '%{Module-Instance}'"
 
                #
                #  connection_halted:: A connection has entered the "halted" state.