I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 27e14e7f authored by str4d's avatar str4d
Browse files

Remember reachableBy selection

parent 30bdf871
No related branches found
No related tags found
No related merge requests found
......@@ -226,11 +226,15 @@
</label>
<select id="reachableBy" name="reachableBy" title="IP for Client Access" class="selectbox">
<%
String clientInterface = request.getParameter("reachableBy");
if ("null".equals(clientInterface)) {
clientInterface = "127.0.0.1";
}
for (String ifc : wizardBean.interfaceSet()) {
out.write("<option value=\"");
out.write(ifc);
out.write('\"');
if (ifc.equals("127.0.0.1"))
if (ifc.equals(clientInterface))
out.write(" selected=\"selected\"");
out.write('>');
out.write(ifc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment