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.




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to