[OpenSIPS-Devel] [OpenSIPS/opensips] c75a7d: str2ip(): Do not reject IPs with leading '0' byte

Liviu Chircu liviu at opensips.org
Thu May 11 11:53:10 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c75a7ddcd190997e84e6aa1d54da37993135dc1d
      https://github.com/OpenSIPS/opensips/commit/c75a7ddcd190997e84e6aa1d54da37993135dc1d
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2017-05-11 (Thu, 11 May 2017)

  Changed paths:
    M resolve.h

  Log Message:
  -----------
  str2ip(): Do not reject IPs with leading '0' byte

This is useful in some code areas (e.g. allowing 0.0.0.0/0 "catch-all"
networks in the permissions module)




More information about the Devel mailing list