X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcypherpunks.ru%2Fgovpn%2Fconf.go;h=7a9c4b8ce6ba00da4c9bad96e84eeeac10b17ee7;hb=f47fff1e42f75b736e7067ec06c2e81394833d46;hp=0639475254d8be37b091ee28c653ca502e9d810b;hpb=cecb63f12f4a9f523276a0c19c7feb7437c7f53a;p=govpn.git diff --git a/src/cypherpunks.ru/govpn/conf.go b/src/cypherpunks.ru/govpn/conf.go index 0639475..7a9c4b8 100644 --- a/src/cypherpunks.ru/govpn/conf.go +++ b/src/cypherpunks.ru/govpn/conf.go @@ -1,6 +1,6 @@ /* GoVPN -- simple secure free software virtual private network daemon -Copyright (C) 2014-2016 Sergey Matveev +Copyright (C) 2014-2017 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ import ( ) type PeerConf struct { - Id *PeerId `yaml:"-"` + ID *PeerID `yaml:"-"` Name string `yaml:"name"` Iface string `yaml:"iface"` MTU int `yaml:"mtu"` @@ -36,6 +36,7 @@ type PeerConf struct { Noise bool `yaml:"noise"` CPR int `yaml:"cpr"` Encless bool `yaml:"encless"` + TimeSync int `yaml:"timesync"` VerifierRaw string `yaml:"verifier"` // This is passphrase verifier