Skip to content

Commit

Permalink
aka_av_diameter: do not fail for more AVs
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Mar 19, 2024
1 parent 9b87a86 commit f494aac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/aka_av_diameter/aka_av_diameter.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,9 +483,8 @@ static int aka_av_dm_reply(diameter_conn *conn, diameter_reply *reply, void *par
struct aka_av_param *p = (struct aka_av_param *)param;
if (dm_api.get_reply_status(reply)) {
ret = aka_av_diameter_handle_reply(dm_api.get_reply(reply), &p->impu, &p->impi);
if (ret != p->count)
ret = 0;
aka_api.fail(&p->impu, &p->impi, p->count - ret);
if (ret < p->count)
aka_api.fail(&p->impu, &p->impi, p->count - ret);
} else {
aka_api.fail(&p->impu, &p->impi, p->count); /* mark all as failed */
}
Expand Down

0 comments on commit f494aac

Please sign in to comment.