[OpenSIPS-Devel] [OpenSIPS/opensips] 5f1ec3: Fixed cloning of hostend structs.

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Dec 3 12:19:53 EST 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 5f1ec371b00b0bf8e16e37b94b010517572e88e5
      https://github.com/OpenSIPS/opensips/commit/5f1ec371b00b0bf8e16e37b94b010517572e88e5
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-12-03 (Mon, 03 Dec 2018)

  Changed paths:
    M proxy.c

  Log Message:
  -----------
  Fixed cloning of hostend structs.

The h_addr is only a #define to h_addr_list[0], leading to overwriting the new h_addr_list[0] with the old (src) value.

Credits to Dan Pascu (@danpascu) for reporting and assisting with the troubleshooting.



      **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