forked from I2P_Developers/i2p.i2p
* Addresses: Reject numeric IPs of the form n, n.n, and n.n.n
* Console, i2ptunnel: More validation of address and port in forms
This commit is contained in:
@@ -222,14 +222,8 @@
|
||||
<label><%=intl._("Port")%>:</label>
|
||||
<span class="text">
|
||||
<%
|
||||
String cPort= indexBean.getClientPort(curClient);
|
||||
if ("".equals(cPort)) {
|
||||
out.write("<font color=\"red\">");
|
||||
out.write(intl._("Port not set"));
|
||||
out.write("</font>");
|
||||
} else {
|
||||
out.write(cPort);
|
||||
}
|
||||
String cPort= indexBean.getClientPort2(curClient);
|
||||
out.write(cPort);
|
||||
%>
|
||||
</span>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user