Skip to content

Commit

Permalink
dst_blacklists: append _rule check_blacklist func
Browse files Browse the repository at this point in the history
This avoids collision with the userblacklist's module check_blacklist
function.

Many thanks to Bence Szigeti from Genesys for reporting it!
  • Loading branch information
razvancrainea committed Aug 28, 2023
1 parent 6678bae commit bc239b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const cmd_export_t core_cmds[]={
{"unuse_blacklist", (cmd_function)w_unuse_blacklist, {
{CMD_PARAM_STR, fixup_blacklist, 0}, {0,0,0}},
ALL_ROUTES},
{"check_blacklist", (cmd_function)w_check_blacklist, {
{"check_blacklist_rule", (cmd_function)w_check_blacklist, {
{CMD_PARAM_STR, fixup_blacklist, 0},
{CMD_PARAM_STR, fixup_blacklist_ip, fixup_blacklist_free}, /* ip */
{CMD_PARAM_INT|CMD_PARAM_OPT, 0, 0}, /* port */
Expand Down

0 comments on commit bc239b1

Please sign in to comment.