]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
as of 02433d85, the parent does *not* have to be "subrequest"
authorAlan T. DeKok <aland@freeradius.org>
Sun, 11 Aug 2019 12:27:19 +0000 (08:27 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 11 Aug 2019 12:48:56 +0000 (08:48 -0400)
src/lib/unlang/subrequest.c

index 56d3389359ae207d654c71254c615639bdb3327a..fa27bfa1e4fe77fbdd2a9bec1eab9f70633e2a9d 100644 (file)
@@ -308,7 +308,6 @@ static unlang_action_t unlang_detach(REQUEST *request,
        unlang_stack_frame_t    *frame = &stack->frame[stack->depth];
        unlang_t                *instruction = frame->instruction;
 
-       rad_assert(instruction->parent->type == UNLANG_TYPE_SUBREQUEST);
        RDEBUG2("%s", unlang_ops[instruction->type].name);
 
        rad_assert(request->parent != NULL);