]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
push a function before running the trigger
authorAlan T. DeKok <aland@freeradius.org>
Mon, 21 Jul 2025 07:45:30 +0000 (09:45 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 21 Jul 2025 08:25:04 +0000 (10:25 +0200)
commitd95ac9c0337d6252d4a40dbd6bd0881e582cf7a2
tree11b9522a435da76d895bb6485284202ff58b7bac
parentd361dfd3b2b54f917de17e7d666be1c2467bc802
push a function before running the trigger

the interpreter needs the stack to be bootstrapped with a function
or module that is something other than a tmpl.  The tmpl expects
to be a sub frame.

Without this, the trigger subrequest never runs anything after the
first instruction
src/lib/server/trigger.c
src/tests/modules/test/trigger.unlang
src/tests/modules/test/triggers.conf