[OpenSIPS-Devel] [OpenSIPS/opensips] f5a251: Fix populating blacklists.

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Jul 11 22:53:35 CEST 2016

  Branch: refs/heads/2.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f5a251a147bb9493e82ffd12fd37a3ed85bed12d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-07-11 (Mon, 11 Jul 2016)

  Changed paths:
    M modules/dispatcher/dispatch.c
    M modules/dispatcher/dispatch.h
    M modules/dispatcher/ds_bl.c

  Log Message:
  Fix populating blacklists.

When creating the blacklists, use the port and protocol of the destination too, otherwise the rules may conflict or be too wide to be used (like 2 destinations with same IP but different ports).

(cherry picked from commit 0495faa7d96f92da13102480ca43cd1befd37ba0)

More information about the Devel mailing list