Author: nextgens
Date: 2007-12-15 22:35:55 +0000 (Sat, 15 Dec 2007)
New Revision: 16582

Modified:
   trunk/freenet/src/freenet/support/transport/ip/IPAddressDetector.java
Log:
DNS is udp/53; nameserver is tcp/42 ... what were we doing ? :)

Modified: trunk/freenet/src/freenet/support/transport/ip/IPAddressDetector.java
===================================================================
--- trunk/freenet/src/freenet/support/transport/ip/IPAddressDetector.java       
2007-12-15 22:08:22 UTC (rev 16581)
+++ trunk/freenet/src/freenet/support/transport/ip/IPAddressDetector.java       
2007-12-15 22:35:55 UTC (rev 16582)
@@ -148,9 +148,9 @@
                        }

                        // This does not transfer any data
-                       // The ip is a.root-servers.net, 42 is DNS
+                       // The ip is a.root-servers.net, 53 is DNS
                        try {
-                               ds.connect(InetAddress.getByName("198.41.0.4"), 
42);
+                               ds.connect(InetAddress.getByName("198.41.0.4"), 
53);
                        } catch (UnknownHostException ex) {
                                Logger.error(this, "UnknownHostException", ex);
                                return null;


Reply via email to