I see. Thanks. Will be applied then.
// Ola On Mon, Jun 14, 2010 at 10:00:28PM +0200, Mats Erik Andersson wrote: > lördag den 12 juni 2010 klockan 16:11 skrev Ola Lundqvist detta: > > > > The problem as I understand this is that gethostbyname > > returns an ipv6 address, which obviously pptp-linux do not > > support. I can not see that your solution solve that. Potentially > > it can be so that it enforce the system to return ipv4 addresses > > only, but I can not judge that without your confirm. > > > > The single line > > + hints.ai_family = AF_INET; > > assures that IPv4 is the only returnable address family. > > -- --- Inguza Technology AB --- MSc in Information Technology ---- / [email protected] Annebergsslingan 37 \ | [email protected] 654 65 KARLSTAD | | http://inguza.com/ Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

