Branch: refs/heads/2.3
Home: https://github.com/OpenSIPS/opensips
Commit: 1aa8738daaccef1f50f4f272be4f36b174d494e4
https://github.com/OpenSIPS/opensips/commit/1aa8738daaccef1f50f4f272be4f36b174d494e4
Author: Bogdan-Andrei Iancu <[email protected]>
Date: 2018-04-06 (Fri, 06 Apr 2018)
Changed paths:
M resolve.c
Log Message:
-----------
Fixed checking IP addr against host/name
Instead of coverting an IP addr to string and to string matching, it is more
sane to try to covert the host/name to IP addr (anyhow in 99% it will be an IP
as it is taken from VIA hdr). The old string matching fails for IPv6 as the
string representation of an IPv6 is not unique (like for IPv4) - you may have
compact format for IPv6.
Reported by Pasan Meemaduma
(cherry picked from commit a69f6de764cefab7cb7179b2f439780e74082461)
_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel