diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java
index e641d8085..9fcc9e02e 100644
--- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java
+++ b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelHTTPClient.java
@@ -1181,10 +1181,7 @@ public class I2PTunnelHTTPClient extends I2PTunnelHTTPClientBase implements Runn
out.write((": " + wwwProxy).getBytes());
}
if(jumpServers != null && jumpServers.length() > 0) {
- out.write("
".getBytes());
- out.write(_("Click a link below to look for an address helper by using a \"jump\" service:").getBytes("UTF-8"));
- out.write("
\n".getBytes());
-
+ boolean first = true;
if(uri.startsWith("http://")) {
uri = uri.substring(7);
}
@@ -1213,6 +1210,12 @@ public class I2PTunnelHTTPClient extends I2PTunnelHTTPClientBase implements Runn
}
}
+ if (first) {
+ first = false;
+ out.write("
".getBytes());
+ out.write(_("Click a link below to look for an address helper by using a \"jump\" service:").getBytes("UTF-8"));
+ out.write("
\n".getBytes());
+ }
out.write("