News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

Fix getnameinfo usage for IPv6

Started by Ashley, February 18, 2012, 06:40:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ashley

This patch goes on top of the previous one (http://forum.simutrans.com/index.php?topic=9311.0) and fixes a problem with the use of getnameinfo (the salength parameter needs to differ for AF_INET/AF_INET6 address families). I've also tidied up some of the error reporting as well.

(Without this patch IPv6 is broken on at least Debian linux)

Dwachs