Author: toad
Date: 2007-04-25 20:47:19 +0000 (Wed, 25 Apr 2007)
New Revision: 12960

Modified:
   trunk/plugins/JSTUN/JSTUN.java
Log:
Even more logging

Modified: trunk/plugins/JSTUN/JSTUN.java
===================================================================
--- trunk/plugins/JSTUN/JSTUN.java      2007-04-25 20:46:29 UTC (rev 12959)
+++ trunk/plugins/JSTUN/JSTUN.java      2007-04-25 20:47:19 UTC (rev 12960)
@@ -65,8 +65,8 @@
                                        Logger.error(this, "Server 
unreachable?: "+stunServer);
                                        continue;
                                }
-                               Logger.normal(this, "Successful STUN discovery 
from "+stunServer+"!:" + reportedData);
-                               System.err.println("Successful STUN discovery 
from "+stunServer+"!:" + reportedData);
+                               Logger.normal(this, "Successful STUN discovery 
from "+stunServer+"!:" + reportedData+" likely detections: "+countLikely+" 
unlikely detections "+countUnlikely);
+                               System.err.println("Successful STUN discovery 
from "+stunServer+"!:" + reportedData+" likely detections: "+countLikely+" 
unlikely detections "+countUnlikely);
                                DetectedIP ip = convert(reportedData);
                                out.add(ip);
                                if(ip.natType == DetectedIP.NO_UDP || 
ip.natType == DetectedIP.NOT_SUPPORTED || ip.natType == 
DetectedIP.SYMMETRIC_NAT || ip.natType == DetectedIP.SYMMETRIC_UDP_FIREWALL)
@@ -85,7 +85,7 @@
                                e.printStackTrace();
                        }
                }
-               return (DetectedIP[]) out.toArray(new DetectedIP[out.size()]);
+               return null;
        }

        private DetectedIP convert(DiscoveryInfo info) {


Reply via email to