From 207b21e781637f4f85af2a28676523ab30b3a3db Mon Sep 17 00:00:00 2001 From: Arne Babenhauserheide Date: Sun, 22 Jan 2023 17:14:41 +0100 Subject: [PATCH] fix regression: default security level is normal --- src/freenet/clients/http/FirstTimeWizardNewToadlet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freenet/clients/http/FirstTimeWizardNewToadlet.java b/src/freenet/clients/http/FirstTimeWizardNewToadlet.java index 8ccb30646e..e9955352be 100644 --- a/src/freenet/clients/http/FirstTimeWizardNewToadlet.java +++ b/src/freenet/clients/http/FirstTimeWizardNewToadlet.java @@ -293,8 +293,8 @@ private Map toModel() { private void save() { if (knowSomeone.isEmpty()) { - // Opennet - core.node.securityLevels.setThreatLevel(SecurityLevels.NETWORK_THREAT_LEVEL.LOW); + // Opennet + Darknet (possible) + core.node.securityLevels.setThreatLevel(SecurityLevels.NETWORK_THREAT_LEVEL.NORMAL); } else { if (connectToStrangers.isEmpty()) { // Darknet