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

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


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

  Changed paths:
    M modules/load_balancer/lb_bl.c
    M modules/load_balancer/lb_data.c
    M modules/load_balancer/lb_data.h

  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 7fa9cee5037af26fd1c63b70710f2bc03e6a31f4)




More information about the Devel mailing list