Skip to content

Commit

Permalink
dispatcher: enhance error probe
Browse files Browse the repository at this point in the history
 - print dispatching id for unknown dispatching algorithm
  • Loading branch information
ovidiusas committed Feb 27, 2014
1 parent 52b6793 commit d15578c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/dispatcher/dispatch.c
Expand Up @@ -1370,7 +1370,9 @@ int ds_select_dst(struct sip_msg *msg, int set, int alg, int mode, int max_resul
ds_id = 0;
break;
default:
LM_WARN("algo %d not implemented - using first entry...\n", alg);
LM_WARN("dispatching via [%d] with unknown algo [%d]"
": defaulting to 0 - first entry\n",
set, alg);
ds_id = 0;
}

Expand Down

0 comments on commit d15578c

Please sign in to comment.