1
0
mirror of https://github.com/moparisthebest/SSLDroid synced 2024-10-31 15:25:03 -04:00

Changed logging, so that it includes the listening socket's IP address

as well

Signed-off-by: Balint Kovacs <blint@blint.hu>
This commit is contained in:
Balint Kovacs 2011-09-05 15:48:07 +02:00
parent d474bb6682
commit 99e6e89c13

View File

@ -31,7 +31,7 @@ public class TcpProxy {
public void serve() throws IOException { public void serve() throws IOException {
try { try {
ss = new ServerSocket(listenPort, 50, InetAddress.getLocalHost()); ss = new ServerSocket(listenPort, 50, InetAddress.getLocalHost());
Log.d("SSLDroid", "Listening for connections on port " Log.d("SSLDroid", "Listening for connections on "+InetAddress.getLocalHost().getHostAddress()+":"+
+ this.listenPort + " ..."); + this.listenPort + " ...");
} catch (Exception e) { } catch (Exception e) {
Log.d("SSLDroid", "Error setting up listening socket: " + e.toString()); Log.d("SSLDroid", "Error setting up listening socket: " + e.toString());