[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] getsockname misbehavior in linphone 0.12.0 and

From: KUNITAKE Koichi
Subject: Re: [Linphone-developers] getsockname misbehavior in linphone 0.12.0 and 0.12.1pre3
Date: Wed, 12 Nov 2003 13:13:07 +0900


On Tue, 11 Nov 2003 22:12:15 -0500
Jamey Hicks <address@hidden> wrote:

>I'm trying to run linphone over ipv6 but the code for determining local 
>IP address does not seem to be working.  With /64 addresses, getsockname 
>is only returning the routing prefix and not the full IP address of the 
>machine running linphone.  Has anyone else seen this?  Is there a 
>solution available?

  I'd like to fixed this problem, but I can't take time for it now.
 (I'm very sorry, I think I told same thing few month ago....)
  I think this cause of this problem is size of structure. getsockname()
will return IPv6 address(128bit), but size of "struct sockaddr" is not
  If you don't mind, please use lower version(0.11.0) and apply following

 This patch that is newer than a posted patch before will fix some problems.
 But some problem not yet, linphone-0.11.0 with this patch don't work with
Privacy Extension address and home address(Mobile IPv6). I'm working in order
to solve this problem.

  BTW If you want to use linphone-0.12.0 over IPv4 only with IPv6 enabled
kernel. Please applyed following patch for linphone-0.12.0 and execute configure
with "--disable-ipv6". I dont test it, but I think it will work...

--- linphone-0.12.0/osipua/src/utils.c  2003-07-19 00:39:35.000000000 +0900
+++ linphone-0.12.0/osipua/src/utils.c  2003-11-12 12:41:27.000000000 +0900
@@ -360,7 +360,11 @@
+#ifdef INET6
+       hints.ai_family=AF_INET;

Best regards,

ps. I can't complie linphone-0.12.0 on my environment now, oh my...;-(

reply via email to

[Prev in Thread] Current Thread [Next in Thread]