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

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Jul 11 23:02:43 CEST 2016


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

  Changed paths:
    M modules/drouting/dr_bl.c
    M modules/drouting/prefix_tree.h
    M modules/drouting/routing.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 97f309c34c7333270a3f0f997868bdb9b94107f1)




More information about the Devel mailing list