[Ttssh2-commit] [3866] SSH 接続中に SSH ポート転送の設定をしたとき、Remote to Local が追加されていなくてもアラートが出る問題を修正した。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 4月 20日 (火) 20:33:08 JST


Revision: 3866
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3866
Author:   maya
Date:     2010-04-20 20:33:07 +0900 (Tue, 20 Apr 2010)

Log Message:
-----------
SSH 接続中に SSH ポート転送の設定をしたとき、Remote to Local が追加されていなくてもアラートが出る問題を修正した。

Modified Paths:
--------------
    trunk/ttssh2/ttxssh/fwd.c


-------------- next part --------------
Modified: trunk/ttssh2/ttxssh/fwd.c
===================================================================
--- trunk/ttssh2/ttxssh/fwd.c	2010-04-19 16:51:24 UTC (rev 3865)
+++ trunk/ttssh2/ttxssh/fwd.c	2010-04-20 11:33:07 UTC (rev 3866)
@@ -1010,7 +1010,8 @@
 	    && listener->to_port == spec->to_port
 	    && (spec->type == FWD_REMOTE_X11_TO_LOCAL
 	     || strcmp(listener->to_host, spec->to_host) == 0)
-	    && strcmp(listener->bind_address, spec->bind_address);
+	    && (spec->type == FWD_REMOTE_X11_TO_LOCAL
+	     || strcmp(listener->bind_address, spec->bind_address) == 0);
 }
 
 BOOL FWD_can_server_listen_for(PTInstVar pvar, FWDRequestSpec FAR * spec)



Ttssh2-commit メーリングリストの案内
Back to archive index