]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Set frame->result when yielding
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 21 Nov 2017 12:21:13 +0000 (12:21 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 21 Nov 2017 12:21:13 +0000 (12:21 +0000)
src/main/unlang_interpret.c

index 448914f5e6a00dc9eeec1eb53f73fc21e44a8ca3..0e3ea77b9f0743b6d02f851efdd2fc83575fef95 100644 (file)
@@ -2317,7 +2317,7 @@ static inline unlang_frame_action_t unlang_frame_eval(REQUEST *request, unlang_s
                 */
                case UNLANG_ACTION_YIELD:
                yield:
-                       *result = RLM_MODULE_YIELD;     /* Fixup rcode */
+                       *result = frame->result = RLM_MODULE_YIELD;     /* Fixup rcode */
 
                        /*
                         *      Detach is magic.  The parent "create" function