From 27e060eee5ad7eea941c9b8e3e9421e4a01a5b49 Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Tue, 25 Jun 2019 13:28:30 +0000
Subject: [PATCH] comment fixes

---
 router/java/src/net/i2p/router/transport/TransportUtil.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/router/java/src/net/i2p/router/transport/TransportUtil.java b/router/java/src/net/i2p/router/transport/TransportUtil.java
index 606786bdd1..55f5f0e174 100644
--- a/router/java/src/net/i2p/router/transport/TransportUtil.java
+++ b/router/java/src/net/i2p/router/transport/TransportUtil.java
@@ -237,7 +237,7 @@ public abstract class TransportUtil {
      *  @since 0.9.17 moved from logic in individual transports
      */
     public static boolean isValidPort(int port) {
-        // update log message in UDPEndpoint if you update this list
+        // update log message below if you update this list
         return port >= 1024 &&
                port <= 65535 &&
                port != 1900 &&  // UPnP SSDP
@@ -257,7 +257,7 @@ public abstract class TransportUtil {
                port != 9050 &&  // Tor
                port != 9100 &&  // network printer
                port != 9150 &&  // Tor browser
-               // do not block anything in 9111 - 30777, this is the standard random selection range
+               // do not block anything in 9151 - 30777, this is the standard random selection range
                port != 31000 && // Wrapper
                port != 32000;   // Wrapper
     }
-- 
GitLab