]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Auth-Type 5 is no longer hard-coded
authorAlan T. DeKok <aland@freeradius.org>
Sat, 24 May 2025 11:30:50 +0000 (07:30 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 26 May 2025 10:58:04 +0000 (06:58 -0400)
src/main/process.c

index cc520450a8ec66e0762232c58c6fe4606ffa9975..887161228f457b54079fbcebddb63b33cc78ed97 100644 (file)
@@ -1495,7 +1495,7 @@ static void request_finish(REQUEST *request, int action)
        else if (request->packet->code == PW_CODE_ACCESS_REQUEST) {
                if (request->reply->code == 0) {
                        vp = fr_pair_find_by_num(request->config, PW_AUTH_TYPE, 0, TAG_ANY);
-                       if (!vp || (vp->vp_integer != 5)) {
+                       if (!vp) {
                                RDEBUG2("There was no response configured: "
                                        "rejecting request");
                        }