Branch: refs/heads/2.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 6d576b650e791bf2e889ec4ac4b4e5c7a9f2bf4b
      
https://github.com/OpenSIPS/opensips/commit/6d576b650e791bf2e889ec4ac4b4e5c7a9f2bf4b
  Author: Bogdan-Andrei Iancu <bog...@opensips.org>
  Date:   2018-04-11 (Wed, 11 Apr 2018)

  Changed paths:
    M modules/registrar/lookup.c

  Log Message:
  -----------
  Fix is_ip_registered() to use IP-wise matching.

Instead of doing string comp, better convert to ip_addr both IPs and do the 
comp as ip_addrs. This fixes the comp for IPv6, as IPv6 does not have a unique 
string representation.

(cherry picked from commit dc6fa00e6c7d25f296d25b727c1074a5abefdf5d)


_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to