Console: Don't show null port in error message (ticket #1712)

History for prop, -2
This commit is contained in:
zzz
2015-11-22 16:44:26 +00:00
parent 1215a70aab
commit 302ec7767a
3 changed files with 31 additions and 2 deletions

View File

@@ -630,8 +630,9 @@ public class RouterConsoleRunner implements RouterApp {
} }
} }
if (error) { if (error) {
String port = (_listenPort != null) ? _listenPort : ((_sslListenPort != null) ? _sslListenPort : "7657");
System.err.println("WARNING: Error starting one or more listeners of the Router Console server.\n" + System.err.println("WARNING: Error starting one or more listeners of the Router Console server.\n" +
"If your console is still accessible at http://127.0.0.1:" + _listenPort + "/,\n" + "If your console is still accessible at http://127.0.0.1:" + port + "/,\n" +
"this may be a problem only with binding to the IPV6 address ::1.\n" + "this may be a problem only with binding to the IPV6 address ::1.\n" +
"If so, you may ignore this error, or remove the\n" + "If so, you may ignore this error, or remove the\n" +
"\"::1,\" in the \"clientApp.0.args\" line of the clients.config file."); "\"::1,\" in the \"clientApp.0.args\" line of the clients.config file.");

View File

@@ -1,3 +1,31 @@
2015-11-22 zzz
Prop from i2p.i2p.zzz.test2:
* Build:
- More release checks
- Add systray dependency tracking to build
- Remove commons-logging classes from commons-logging.jar (ticket #1679)
* Lint:
- Replace URL with URI where possible
- Don't use DataHelper.fromLong() for 1-byte reads, for efficiency
- Don't catch Exception, catch RuntimeException or checked exception.
* i2psnark:
- Minor details page reformatting
- Add skipped length on details page
* NewsManager: Make it a ClientApp, not a RouterApp
* Profiles: Don't allow creation of our own profile
* Router: Revert JobTiming being a clock shift listener, not needed
* SSU:
- Support extended options
- Add support for requesting a relay tag via
Session Request extended options (ticket #1465)
* Tunnels:
- Locking fixes
- Don't set stats in our own profile
- Minor optimizations
* Utils:
- Centralize time zone code in DataHelper
- Add caching string split()
2015-11-21 zzz 2015-11-21 zzz
* Console: Fix escaping of plugin description on /configclients (ticket #1711) * Console: Fix escaping of plugin description on /configclients (ticket #1711)

View File

@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */ /** deprecated */
public final static String ID = "Monotone"; public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION; public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 1; public final static long BUILD = 2;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = ""; public final static String EXTRA = "";