Author: toad
Date: 2008-05-07 14:51:39 +0000 (Wed, 07 May 2008)
New Revision: 19828

Modified:
   trunk/plugins/JSTUN/JSTUN.java
Log:
JSTUN: It's okay to report unknown nat type, it counts as an unlikely detection

Modified: trunk/plugins/JSTUN/JSTUN.java
===================================================================
--- trunk/plugins/JSTUN/JSTUN.java      2008-05-07 14:45:01 UTC (rev 19827)
+++ trunk/plugins/JSTUN/JSTUN.java      2008-05-07 14:51:39 UTC (rev 19828)
@@ -114,7 +114,7 @@
                        return new DetectedIP(addr, DetectedIP.SYMMETRIC_NAT);
                if(info.isSymmetricUDPFirewall())
                        return new DetectedIP(addr, 
DetectedIP.SYMMETRIC_UDP_FIREWALL);
-               return null;
+               return new DetectedIP(addr, DetectedIP.UNKNOWN);
        }

        public DetectedIP[] getAddress() {


Reply via email to