MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / fixup_blacklist_name

Function fixup_blacklist_name

core_cmds.c:587–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585}
586
587static int fixup_blacklist_name(void** param)
588{
589 str *s = (str*)*param;
590 *param = get_bl_head_by_name(s);
591 if (!*param) {
592 LM_ERR("blacklist %.*s not configured\n", s->len, s->s);
593 return E_CFG;
594 }
595 return 0;
596}
597
598static int fixup_blacklist(void** param)
599{

Callers 1

fixup_blacklistFunction · 0.85

Calls 1

get_bl_head_by_nameFunction · 0.85

Tested by

no test coverage detected