forked from I2P_Developers/i2p.i2p
* IPV6/localhost:
- Enable IPv6 stack in the JVM, hopefully won't break anything - Patch Jetty to support binding to IPv6 addresses - Allow multiple bind addresses for the router console in the clients.config file; for new installs the default is now "127.0.0.1,::1" - Change most instances of "localhost" to "127.0.0.1" throughout the code * Router: - Move some classes to private static inner
This commit is contained in:
@@ -132,7 +132,7 @@ public class SysTray implements SysTrayMenuListener {
|
||||
public void iconLeftClicked(SysTrayMenuEvent e) {}
|
||||
|
||||
public void iconLeftDoubleClicked(SysTrayMenuEvent e) {
|
||||
openRouterConsole("http://localhost:" + _portString + "/index.jsp");
|
||||
openRouterConsole("http://127.0.0.1:" + _portString + "/index.jsp");
|
||||
}
|
||||
|
||||
public void menuItemSelected(SysTrayMenuEvent e) {
|
||||
@@ -153,7 +153,7 @@ public class SysTray implements SysTrayMenuListener {
|
||||
if (!(browser = promptForBrowser("Select browser")).equals("nullnull"))
|
||||
setBrowser(browser);
|
||||
} else if (e.getActionCommand().equals("openconsole")) {
|
||||
openRouterConsole("http://localhost:" + _portString + "/index.jsp");
|
||||
openRouterConsole("http://127.0.0.1:" + _portString + "/index.jsp");
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -163,7 +163,7 @@ public class UrlLauncher {
|
||||
if (args.length > 0)
|
||||
launcher.openUrl(args[0]);
|
||||
else
|
||||
launcher.openUrl("http://localhost:7657/index.jsp");
|
||||
launcher.openUrl("http://127.0.0.1:7657/index.jsp");
|
||||
} catch (Exception e) {}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user