[OpenSIPS/opensips] d02c4f: Move str2ip/str2ip6() functions into ip_addr.h file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] d02c4f: Move str2ip/str2ip6() functions into ip_addr.h file

Răzvan Crainea-3
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: d02c4f731a7d64555ce66408c84f12d1e845180c
      https://github.com/OpenSIPS/opensips/commit/d02c4f731a7d64555ce66408c84f12d1e845180c
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M ip_addr.h
    M resolve.h

  Log Message:
  -----------
  Move str2ip/str2ip6() functions into ip_addr.h file

These are 100% ip_addr related functions (for parsing a string into an ip_addr structure), so their place should be in the ip_addr files


  Commit: fac907324c97b0fe655aed8fd33921b7030db18b
      https://github.com/OpenSIPS/opensips/commit/fac907324c97b0fe655aed8fd33921b7030db18b
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M ip_addr.c
    M ip_addr.h

  Log Message:
  -----------
  Added ip_addr based function for testing private IPs.

New ip_addr_is_1918(str*) function added, inspired from is1918addr() in nathelper, but reworked to work with ip_addr oriented functions.


  Commit: 4994276c9ca9e49f61652a9ba53e134c4cc86a02
      https://github.com/OpenSIPS/opensips/commit/4994276c9ca9e49f61652a9ba53e134c4cc86a02
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M transformations.c
    M transformations.h

  Log Message:
  -----------
  Added new {ip.isprivate} transformation


  Commit: 33e6dc1bd8b57b8ec6253ed8727b5fc726d76dff
      https://github.com/OpenSIPS/opensips/commit/33e6dc1bd8b57b8ec6253ed8727b5fc726d76dff
  Author: Bogdan-Andrei Iancu <[hidden email]>
  Date:   2019-06-14 (Fri, 14 Jun 2019)

  Changed paths:
    M modules/nat_traversal/nat_traversal.c
    M modules/nathelper/nathelper.c

  Log Message:
  -----------
  Migrated modules to use shared ip_addr_is_1918()


Compare: https://github.com/OpenSIPS/opensips/compare/ec1889638a9d...33e6dc1bd8b5

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel