From: Sergey Matveev Date: Thu, 8 Dec 2016 20:33:12 +0000 (+0300) Subject: No need of notice that noise-mode is enabled when encryptionless is on X-Git-Tag: 7.1^2~23 X-Git-Url: http://www.git.cypherpunks.ru/?p=govpn.git;a=commitdiff_plain;h=2f3299c343b4036718f254d9c23f147ba1bc0161 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. --- 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,