Skip to content

Commit

Permalink
Fix missing script "fixing" in processes (after reload)
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-iancu committed Apr 4, 2019
1 parent 13056d8 commit 65af0b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cfg_reload.c
Expand Up @@ -237,6 +237,11 @@ static void routes_reload_per_proc(int sender, void *param)
fclose(cfg);
cfg_parse_only_routes = 0;

if (fix_rls()<0) {
LM_ERR("fixing routes failed, abording\n");
goto error;
}

sroutes = sr_bk;

/* keep the parsed routes, waiting for the confirmation to switch */
Expand Down

0 comments on commit 65af0b5

Please sign in to comment.