]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
0 is RLM_MODULE_REJECT, which is a valid rcode
authorAlan T. DeKok <aland@freeradius.org>
Tue, 21 Nov 2017 15:45:44 +0000 (10:45 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 21 Nov 2017 15:52:07 +0000 (10:52 -0500)
src/main/xlat_eval.c

index 55d58a7b3ae6d4a379afcb5c113c0ddd5e6cb893..5c4edf565677539f6df6ef4d0c55050307b812e5 100644 (file)
@@ -273,8 +273,6 @@ static xlat_action_t xlat_eval_pair_virtual(TALLOC_CTX *ctx, fr_cursor_t *out, R
                goto done;
 
        case FR_MODULE_RETURN_CODE:
-               if (!request->rcode) return XLAT_ACTION_DONE;
-
                MEM(value = fr_value_box_alloc(ctx, vpt->tmpl_da->type, NULL, false));
                value->enumv = vpt->tmpl_da;
                value->datum.int32 = request->rcode;