From 2f3299c343b4036718f254d9c23f147ba1bc0161 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 8 Dec 2016 23:33:12 +0300 Subject: [PATCH] No need of notice that noise-mode is enabled when encryptionless is on Encryptionless mode always noises the packets (by "definition"). No need to force user setting up -noise option to skip the notice that encryptionless mode includes noise. Those, who turns this option on -- already should know what they are doing. --- src/cypherpunks.ru/govpn/cmd/govpn-client/main.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/cypherpunks.ru/govpn/cmd/govpn-client/main.go b/src/cypherpunks.ru/govpn/cmd/govpn-client/main.go index 225dbc8..3e372d8 100644 --- a/src/cypherpunks.ru/govpn/cmd/govpn-client/main.go +++ b/src/cypherpunks.ru/govpn/cmd/govpn-client/main.go @@ -103,10 +103,7 @@ func main() { if protocol != client.ProtocolTCP { log.Fatalln("Currently encryptionless mode works only with TCP") } - if !*noisy { - log.Println("-encless is on, force -noisy mode") - *noisy = true - } + *noisy = true } conf := client.Configuration{ PrivateKey: priv, -- 2.44.0