The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Ashley on February 18, 2012, 06:40:10 PM

Title: Fix getnameinfo usage for IPv6
Post by: Ashley on February 18, 2012, 06:40:10 PM
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)
Title: Re: Fix getnameinfo usage for IPv6
Post by: Dwachs on February 19, 2012, 05:26:15 PM
thanks!