[OpenSIPS-Devel] SF.net SVN: opensips:[8047] branches/1.6/modules/nat_traversal/ nat_traversal.c
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Jun 24 16:57:22 CEST 2011
Revision: 8047
http://opensips.svn.sourceforge.net/opensips/?rev=8047&view=rev
Author: bogdan_iancu
Date: 2011-06-24 14:57:21 +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:
--------------
branches/1.6/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