]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Populat attr_chap_challenge
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 11 Oct 2021 17:01:51 +0000 (12:01 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 11 Oct 2021 17:01:51 +0000 (12:01 -0500)
src/bin/radclient.c

index dcb781aabdf5f2cb55358727a4588b103933e777..7171e465cec6ec5e76ee991ce7bef881ca607817 100644 (file)
@@ -128,7 +128,7 @@ fr_dict_attr_autoload_t radclient_dict_attr[] = {
        { .out = &attr_request_authenticator, .name = "Request-Authenticator", .type = FR_TYPE_OCTETS, .dict = &dict_freeradius },
 
        { .out = &attr_chap_password, .name = "CHAP-Password", .type = FR_TYPE_OCTETS, .dict = &dict_radius },
-       { .out = &attr_chap_password, .name = "CHAP-Challenge", .type = FR_TYPE_OCTETS, .dict = &dict_radius },
+       { .out = &attr_chap_challenge, .name = "CHAP-Challenge", .type = FR_TYPE_OCTETS, .dict = &dict_radius },
        { .out = &attr_packet_type, .name = "Packet-Type", .type = FR_TYPE_UINT32, .dict = &dict_radius },
        { .out = &attr_user_password, .name = "User-Password", .type = FR_TYPE_STRING, .dict = &dict_radius },
        { NULL }