Skip to content

Commit

Permalink
Use packet for VP context
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 13, 2014
1 parent 7051d3a commit f9f4e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c
Expand Up @@ -284,7 +284,7 @@ static VALUE_PAIR *diameter2vp(REQUEST *request, REQUEST *fake, SSL *ssl,
if (vp) pairfree(&vp);
da = dict_attrunknown(attr, vendor, true);
if (!da) return NULL;
vp = pairalloc(NULL, da);
vp = pairalloc(packet, da);
if (!vp) return NULL;
pairmemcpy(vp, data, size);
break;
Expand Down

0 comments on commit f9f4e40

Please sign in to comment.