]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
set request->reply->code from the reply code
authorAlan T. DeKok <aland@freeradius.org>
Tue, 5 Sep 2017 13:49:57 +0000 (09:49 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 6 Sep 2017 18:21:26 +0000 (14:21 -0400)
src/modules/rlm_radius/rlm_radius_udp.c

index 947ec98615688a4e47fdb03604f6db4c1ac08ff4..028d24e3378cee6089137b8d0a00f1d019955580 100644 (file)
@@ -829,6 +829,7 @@ redo:
                 *      programatically decide which attributes to add.
                 */
 
+               request->reply->code = code;
                fr_pair_add(&request->reply->vps, vp);
 
                /*