i2ptunnel: Fix NPE creating server tunnel

Add Red25519 sigtype option for servers
Fix if clause in editClient
This commit is contained in:
zzz
2019-04-11 14:33:38 +00:00
parent dd5f8b45ef
commit 73790e2353
3 changed files with 15 additions and 4 deletions

View File

@@ -647,8 +647,12 @@ public class GeneralHelper {
public String getFilterDefinition(int tunnel) {
TunnelController tunnelController = getController(tunnel);
String filter = tunnelController.getFilter();
return filter == null ? "" : filter;
if (tunnelController != null) {
String filter = tunnelController.getFilter();
if (filter != null)
return filter;
}
return "";
}
public String getJumpList(int tunnel) {