svnno****@sourc*****
svnno****@sourc*****
2011年 8月 20日 (土) 11:08:56 JST
Revision: 4584 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4584 Author: maya Date: 2011-08-20 11:08:56 +0900 (Sat, 20 Aug 2011) Log Message: ----------- IPv4 フォールバック時に、Tera Term から渡されていた SOCKET が更新されずに SSH 接続が無効になることがある問題を修正 Modified Paths: -------------- trunk/ttssh2/ttxssh/ttxssh.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/ttxssh.c =================================================================== --- trunk/ttssh2/ttxssh/ttxssh.c 2011-08-16 12:47:00 UTC (rev 4583) +++ trunk/ttssh2/ttxssh/ttxssh.c 2011-08-20 02:08:56 UTC (rev 4584) @@ -669,7 +669,7 @@ int namelen) { #ifndef NO_INET6 - if (pvar->socket == INVALID_SOCKET) { + if (pvar->socket == INVALID_SOCKET || pvar->socket != s) { struct sockaddr_storage ss; int len;