[OpenSIPS-Devel] [OpenSIPS/opensips] 026ec3: clusterer: Improve handling for NULL sip_addr

Liviu Chircu liviu at opensips.org
Fri Oct 19 07:07:04 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 026ec3dc3f0feb3f30ef6ffc4fa0121a588d2c0b
      https://github.com/OpenSIPS/opensips/commit/026ec3dc3f0feb3f30ef6ffc4fa0121a588d2c0b
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2018-10-19 (Fri, 19 Oct 2018)

  Changed paths:
    M modules/clusterer/node_info.c

  Log Message:
  -----------
  clusterer: Improve handling for NULL sip_addr

A NULL sip_addr field should result in a false sip_addr matching with
any other node.

This prevents unnecessary error logs in simple federated usrloc setups
(no HA) where we don't necessarily need to fill in a "sip_addr" field
for each node.

(cherry picked from commit 0cf846a1e1e7fb76960598bb1738033aa9597343)



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list