Skip to content

Commit

Permalink
Use tags in "foreach"
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 20, 2014
1 parent dea1574 commit e7a05b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/modcall.c
Expand Up @@ -716,7 +716,7 @@ static bool modcall_recurse(REQUEST *request, rlm_components_t component, int de
break;
}

vp = fr_cursor_next_by_num(&cursor, vp->da->attr, vp->da->vendor, TAG_ANY);
vp = fr_cursor_next_by_num(&cursor, vp->da->attr, vp->da->vendor, g->vpt->attribute.tag);

/*
* Delete the cached attribute, if it exists.
Expand Down

0 comments on commit e7a05b5

Please sign in to comment.