forked from I2P_Developers/i2p.i2p
Switch from 'host name' to 'hostname'
This commit is contained in:
@@ -1220,7 +1220,7 @@ public class Tcpbw100 extends JApplet implements ActionListener {
|
||||
if ((sName = getParameter(NDTConstants.TARGET1)) == null) {
|
||||
throw new IllegalArgumentException("U parameter Required:");
|
||||
}
|
||||
// host name
|
||||
// hostname
|
||||
if ((sHost = getParameter(NDTConstants.TARGET2)) == null) {
|
||||
throw new IllegalArgumentException("H parameter Required:");
|
||||
}
|
||||
|
||||
@@ -953,7 +953,7 @@ public class RouterConsoleRunner implements RouterApp {
|
||||
System.err.println("Created self-signed certificate for " + cname + " in keystore: " + ks.getAbsolutePath() + "\n" +
|
||||
"The certificate was generated randomly.\n" +
|
||||
"Unless you have changed the default settings, the certificate is not associated with your " +
|
||||
"IP address, host name, router identity, or destination keys.");
|
||||
"IP address, hostname, router identity, or destination keys.");
|
||||
} else {
|
||||
System.err.println("Failed to create console SSL keystore.\n" +
|
||||
"This is for the Sun/Oracle keytool, others may be incompatible.\n" +
|
||||
|
||||
@@ -84,7 +84,7 @@ public class ConfigKeyringHandler extends FormHandler {
|
||||
spk = bdin.getUnblindedPubKey();
|
||||
}
|
||||
if (spk == null) {
|
||||
addFormError(_t("Requires host name, destination, or blinded Base32"));
|
||||
addFormError(_t("Requires hostname, destination, or blinded Base32"));
|
||||
return;
|
||||
}
|
||||
// from BlindCache
|
||||
|
||||
@@ -178,7 +178,7 @@ public class ConfigNetHandler extends FormHandler {
|
||||
String oldUdp = _context.getProperty(UDPTransport.PROP_SOURCES,
|
||||
_context.router().isHidden() ? "hidden" : UDPTransport.DEFAULT_SOURCES);
|
||||
String oldUHost = _context.getProperty(UDPTransport.PROP_EXTERNAL_HOST, "");
|
||||
// force change to fixed if user enters a host name/IP
|
||||
// force change to fixed if user enters a hostname/IP
|
||||
if (_udpHost1 != null && _udpHost1.length() > 0)
|
||||
_udpAutoIP = "fixed";
|
||||
if (_udpAutoIP != null) {
|
||||
|
||||
@@ -247,7 +247,7 @@ public class ConfigNetHelper extends HelperBase {
|
||||
}
|
||||
if (!addrs.isEmpty()) {
|
||||
buf.append("\n<br> ")
|
||||
.append(_t("Add host name or IP"))
|
||||
.append(_t("Add hostname or IP"))
|
||||
.append(": ");
|
||||
}
|
||||
buf.append("<input name=\"udpHost1\" type=\"text\" size=\"16\" >");
|
||||
|
||||
@@ -380,7 +380,7 @@ public class NetDbHelper extends FormHandler {
|
||||
"<tr><td>Encryption Type:</td><td><input type=\"text\" name=\"etype\"></td><td></td></tr>\n" +
|
||||
"<tr><td>Router Family:</td><td><input type=\"text\" name=\"fam\"></td><td></td></tr>\n" +
|
||||
"<tr><td>Hash Prefix:</td><td><input type=\"text\" name=\"r\"></td><td></td></tr>\n" +
|
||||
"<tr><td>IP or Hostname:</td><td><input type=\"text\" name=\"ip\"></td><td>host name, IPv4, or IPv6, /24,/16,/8 suffixes optional for IPv4, prefix ok for IPv6</td></tr>\n" +
|
||||
"<tr><td>IP or Hostname:</td><td><input type=\"text\" name=\"ip\"></td><td>hostname, IPv4, or IPv6, /24,/16,/8 suffixes optional for IPv4, prefix ok for IPv6</td></tr>\n" +
|
||||
"<tr><td>IPv6 Prefix:</td><td><input type=\"text\" name=\"ipv6\"></td><td></td></tr>\n" +
|
||||
"<tr><td>MTU:</td><td><input type=\"text\" name=\"mtu\"></td><td></td></tr>\n" +
|
||||
"<tr><td>Port Number:</td><td><input type=\"text\" name=\"port\"></td><td></td></tr>\n" +
|
||||
|
||||
Reference in New Issue
Block a user