]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
ensure that we run the correct post-auth section
authorAlan T. DeKok <aland@freeradius.org>
Mon, 15 Aug 2022 20:06:56 +0000 (16:06 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 29 Aug 2022 19:35:28 +0000 (15:35 -0400)
src/modules/rlm_eap/types/rlm_eap_peap/peap.c

index 5647f613afd5ac8238a6e577c3814681d2ce5f1e..a8589aeaea4dc61370cc6d6d5ef44743bd295183 100644 (file)
@@ -591,6 +591,8 @@ static int CC_HINT(nonnull) eappeap_postproxy(eap_handler_t *handler, void *data
                        fprintf(fr_log_fp, "server %s {\n", fake->server);
                }
 
+               fake->reply->code = PW_CODE_ACCESS_ACCEPT;
+
                /*
                 *      Perform a post-auth stage, which will get the EAP
                 *      handler, too...