]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/govpn/cmd/govpn-server/conf.go
EncLess -> Encless for convenience
[govpn.git] / src / govpn / cmd / govpn-server / conf.go
index 809c56d8c9453e4678b97ad49e32db0cf5c337fa..cd746699b4870159dc42b24b3f0e37325ed7da92 100644 (file)
@@ -53,7 +53,7 @@ func confRead() map[govpn.PeerId]*govpn.PeerConf {
                if err != nil {
                        log.Fatalln("Unable to decode the key:", err.Error(), pc.VerifierRaw)
                }
-               if pc.EncLess {
+               if pc.Encless {
                        pc.Noise = true
                }
                if pc.MTU == 0 {
@@ -69,7 +69,7 @@ func confRead() map[govpn.PeerId]*govpn.PeerConf {
                        Down:     pc.Down,
                        Noise:    pc.Noise,
                        CPR:      pc.CPR,
-                       EncLess:  pc.EncLess,
+                       Encless:  pc.Encless,
                }
                if pc.TimeoutInt <= 0 {
                        pc.TimeoutInt = govpn.TimeoutDefault