[OpenSIPS-Devel] SF.net SVN: opensips:[8046] trunk/modules/nat_traversal/nat_traversal.c
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Jun 24 16:55:53 CEST 2011
Revision: 8046
http://opensips.svn.sourceforge.net/opensips/?rev=8046&view=rev
Author: bogdan_iancu
Date: 2011-06-24 14:55:52 +0000 (Fri, 24 Jun 2011)
Log Message:
-----------
fix_contact does not escape properly an IPv6 address. This patch adds support for this.
(This patch is needed for example to support a broken client that sends its private IPv4 address as contact, even though a valid global IPv6 address could be provided -- qutecom in my test scenario.)
The fix is simply to detect IPv6 and use brackets around the IP address.
Patch #3167286, contributed by shimaore
Modified Paths:
--------------
trunk/modules/nat_traversal/nat_traversal.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Devel
mailing list