Skip to content
Permalink
Browse files

Small fix in test during blacklist name parsing

Related to d11ba50

(cherry picked from commit 71120b6)
  • Loading branch information
bogdan-iancu committed Mar 12, 2019
1 parent 0bc8bf3 commit 3bc72d4933cd01809505316d26aed180472aaf14
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/drouting/dr_bl.c
@@ -119,7 +119,7 @@ int init_dr_bls(struct head_db * head_db_start)
name.s = it_blk->def;
}
p = strchr( name.s, '=');
if (p==NULL || p== it_blk->def) {
if (p==NULL || p==name.s) {
LM_ERR("blacklist definition <%s> has no name",it_blk->def);
return -1;
}

0 comments on commit 3bc72d4

Please sign in to comment.
You can’t perform that action at this time.