Skip to content

Commit

Permalink
core: set AVP value from search_index_avp, if provided
Browse files Browse the repository at this point in the history
  • Loading branch information
john08burke committed Jun 9, 2022
1 parent 09e626b commit 37c46db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr_avp.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ struct usr_avp *search_index_avp(unsigned short flags,
{
struct usr_avp *avp = NULL;

while ( (avp=search_first_avp( flags, name, 0, avp))!=0 ) {
while ( (avp=search_first_avp( flags, name, val, avp))!=0 ) {
if( index == 0 ){
return avp;
}
Expand Down

0 comments on commit 37c46db

Please sign in to comment.