Skip to content

Commit

Permalink
Missing route on startup: Lower severity from ALERT to ERROR
Browse files Browse the repository at this point in the history
(cherry picked from commit 5f83611)
  • Loading branch information
liviuchircu committed Nov 24, 2020
1 parent 7ce3a46 commit 357a3ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions route.c
Expand Up @@ -1134,8 +1134,8 @@ static int fix_actions(struct action* a)
break;
}
if (ret == -1) {
LM_ALERT("BUG in route() type %d\n",
t->elem[0].type);
LM_ERR("failed to validate a route() statement (type %d)\n",
t->elem[0].type);
ret = E_CFG;
goto error;
}
Expand Down

0 comments on commit 357a3ae

Please sign in to comment.