]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
pass variable to function
authorAlan T. DeKok <aland@freeradius.org>
Tue, 22 Nov 2022 15:40:06 +0000 (10:40 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 22 Nov 2022 15:40:06 +0000 (10:40 -0500)
src/lib/unlang/edit.c

index ebd232c5dd1ba5e4ddad4b3aa3dfefc09c235bd0..0dee31bd1e2f880d8d34ce6a3a07ccc79a4970ba 100644 (file)
@@ -1219,7 +1219,7 @@ static int expanded_lhs_attribute(request_t *request, unlang_frame_state_edit_t
 {
        REXDENT();
 
-       if (tmpl_attr_from_result(state, NULL, &current->lhs, request) < 0) return -1;
+       if (tmpl_attr_from_result(state, current->map, &current->lhs, request) < 0) return -1;
 
        return current->check_lhs(request, state, current);
 }