]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/cypherpunks.ru/govpn/conf.go
go vet/lint
[govpn.git] / src / cypherpunks.ru / govpn / conf.go
index 0639475254d8be37b091ee28c653ca502e9d810b..7a9c4b8ce6ba00da4c9bad96e84eeeac10b17ee7 100644 (file)
@@ -1,6 +1,6 @@
 /*
 GoVPN -- simple secure free software virtual private network daemon
-Copyright (C) 2014-2016 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2014-2017 Sergey Matveev <stargrave@stargrave.org>
 
 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