This commit is contained in:
Callan Bryant 2020-11-19 22:57:29 +00:00
parent 08b8372148
commit dea2e86bc6
No known key found for this signature in database
GPG Key ID: C31FA9DF3ACBFFAA

View File

@ -53,9 +53,9 @@ type DsnetConfig struct {
// TODO Default subnets to route via VPN
ReportFile string `validate:"required"`
PrivateKey JSONKey `validate:"required,len=44"`
PostUp string
PostDown string
Peers []PeerConfig `validate:"dive"`
PostUp string
PostDown string
Peers []PeerConfig `validate:"dive"`
}
func MustLoadDsnetConfig() *DsnetConfig {