Branch: refs/heads/2.2
Home: https://github.com/OpenSIPS/opensips
Commit: 4aa150e34841f537be76493b5c666898708ab67d
https://github.com/OpenSIPS/opensips/commit/4aa150e34841f537be76493b5c666898708ab67d
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