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

Function reset_bl_markers

blacklists.c:601–605  ·  view source on GitHub ↗

* If possible, reset the bitmask stored in the current global context */

Source from the content-addressed store, hash-verified

599 * If possible, reset the bitmask stored in the current global context
600 */
601void reset_bl_markers(void)
602{
603 if (get_bl_marker(NULL) == 0)
604 store_bl_marker(bl_default_marker);
605}
606
607static inline int match_bl_rule(struct ip_addr *ip, str *text,
608 unsigned short port,

Callers

nothing calls this directly

Calls 1

get_bl_markerFunction · 0.85

Tested by

no test coverage detected