]> Cypherpunks.ru repositories - govpn.git/blobdiff - src/govpn/conf.go
Ability to explicitly specify TAP interface, without up-script using
[govpn.git] / src / govpn / conf.go
index ae968eb30a203f2e0454a55be83576bc0f8bff3a..eb69ec6d1de34b34dbe19e776cca5197e5613436 100644 (file)
@@ -27,12 +27,14 @@ import (
 type PeerConf struct {
        Id          *PeerId       `json:"-"`
        Name        string        `json:"name"`
+       Iface       string        `json:"iface"`
        Up          string        `json:"up"`
        Down        string        `json:"down"`
        TimeoutInt  int           `json:"timeout"`
        Timeout     time.Duration `json:"-"`
        Noise       bool          `json:"noise"`
        CPR         int           `json:"cpr"`
+       EncLess     bool          `json:"encless"`
        VerifierRaw string        `json:"verifier"`
 
        // This is passphrase verifier