Skip to content

Commit

Permalink
parent username from the correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Sep 13, 2016
1 parent be14292 commit 924b4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_eap/types/rlm_eap_pwd/rlm_eap_pwd.c
Expand Up @@ -284,7 +284,7 @@ static rlm_rcode_t mod_process(void *instance, eap_session_t *eap_session)
*/
MEM(fake = request_alloc_fake(eap_session->request));

fake->username = fr_pair_afrom_num(fake, 0, PW_USER_NAME);
fake->username = fr_pair_afrom_num(fake->packet, 0, PW_USER_NAME);
if (!fake->username) {
RDEBUG("Failed creating pair for peer id");
talloc_free(fake);
Expand Down

0 comments on commit 924b4aa

Please sign in to comment.