]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Sun, 11 Aug 2024 20:19:30 +0000 (16:19 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 11 Aug 2024 20:19:30 +0000 (16:19 -0400)
src/protocols/radius/base.c

index 07090faefbf5d266a227dad9c0eeb7bdabe4b2c0..93948ba3c294200acd90e477b188019df5043643 100644 (file)
@@ -917,7 +917,7 @@ ssize_t fr_radius_encode(fr_dbuff_t *dbuff, fr_pair_list_t *vps, fr_radius_encod
        fr_dcursor_t            cursor;
        fr_dbuff_t              work_dbuff, length_dbuff;
 
-       packet_ctx->disallow_tunnel_passwords = disallow_tunnel_passwords[packet_ctx->request_code];
+       packet_ctx->disallow_tunnel_passwords = disallow_tunnel_passwords[packet_ctx->code];
 
        /*
         *      The RADIUS header can't do more than 64K of data.