]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Don't mess with request->module on resumption
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 19 Jan 2018 23:33:44 +0000 (16:33 -0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 19 Jan 2018 23:34:38 +0000 (16:34 -0700)
We need a better way of handling this...

src/main/unlang_interpret.c

index 475ae8ef3878f7851e252d1dcb33aed912de4527..da535866c9211507b6429a954e4d515c78e65c7b 100644 (file)
@@ -1319,8 +1319,6 @@ static unlang_action_t unlang_resume(REQUEST *request, rlm_rcode_t *presult, int
                return UNLANG_ACTION_CALCULATE_RESULT;
        }
 
-       request->module = mr->self.debug_name;
-
        /*
         *      Run the resume callback associated with
         *      the original frame which was used to
@@ -1328,8 +1326,6 @@ static unlang_action_t unlang_resume(REQUEST *request, rlm_rcode_t *presult, int
         */
        action = unlang_ops[mr->parent->type].resume(request, presult, mr->resume_ctx);
 
-       request->module = NULL;
-
        /*
         *      Leave mr alone, it will be freed when the request is done.
         */