Skip to content

Commit

Permalink
[drouting] proper ending of fallbacks at last cycle
Browse files Browse the repository at this point in the history
(cherry picked from commit cdcfe44)
  • Loading branch information
bogdan-iancu committed Jan 15, 2021
1 parent b8f32f9 commit 8a71484
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/drouting/drouting.c
Expand Up @@ -3347,6 +3347,9 @@ static int do_routing(struct sip_msg* msg, struct head_db *part, int grp,
LM_DBG("updating to %d, prefix %.*s \n",rule_idx,
prefix_len-(rule_idx?1:0),username.s);
}
} else if ( (flags & DR_PARAM_INTERNAL_TRIGGERED) ) {
/* triggered via failover, but failover dropped at this iteration */
destroy_avps( 0, current_partition->avpID_store_flags, 1);
}

if (wl_list) pkg_free(wl_list);
Expand Down

0 comments on commit 8a71484

Please sign in to comment.