From 388ae09fcadd994120b8f19b3da33f0f50c5cc5a Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 22 May 2018 23:43:29 +0100 Subject: [PATCH] Rename some config items --- src/yggdrasil/config/config.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/yggdrasil/config/config.go b/src/yggdrasil/config/config.go index 640cb04f..36efe491 100644 --- a/src/yggdrasil/config/config.go +++ b/src/yggdrasil/config/config.go @@ -5,13 +5,13 @@ type NodeConfig struct { Listen string `comment:"Listen address for peer connections (default is to listen for all\nconnections over IPv4 and IPv6)"` AdminListen string `comment:"Listen address for admin connections (default is to listen only\nfor local connections)"` Peers []string `comment:"List of connection strings for static peers (i.e. tcp://a.b.c.d:e)"` - AllowedBoxPubs []string `comment:"List of peer BoxPubs to allow UDP incoming TCP connections from\n(if left empty/undefined then connections will be allowed by default)"` - BoxPub string `comment:"Your public encryption key (your peers may ask you for this to put\ninto their AllowedBoxPubs configuration)"` - BoxPriv string `comment:"Your private encryption key (do not share this with anyone!)"` - SigPub string `comment:"Your public signing key"` - SigPriv string `comment:"Your private signing key (do not share this with anyone!)"` + AllowedBoxPubs []string `json:"AllowedEncryptionPublicKeys" comment:"List of peer encryption public keys to allow UDP incoming TCP connections from\n(if left empty/undefined then connections will be allowed by default)"` + BoxPub string `json:"EncryptionPublicKey" comment:"Your public encryption key (your peers may ask you for this to put\ninto their AllowedEncryptionPublicKeys configuration)"` + BoxPriv string `json:"EncryptionPrivateKey" comment:"Your private encryption key (do not share this with anyone!)"` + SigPub string `json:"SigningPublicKey" comment:"Your public signing key"` + SigPriv string `json:"SigningPrivateKey" comment:"Your private signing key (do not share this with anyone!)"` Multicast bool `comment:"Enable or disable automatic peer discovery on the same LAN using multicast"` - LinkLocal string `comment:"Regex for which interfaces multicast peer discovery should be enabled on"` + LinkLocal string `json:"MulticastInterfaces" comment:"Regex for which interfaces multicast peer discovery should be enabled on"` IfName string `comment:"Local network interface name for TUN/TAP adapter, or \"auto\", or \"none\""` IfTAPMode bool `comment:"Set local network interface to TAP mode rather than TUN mode (if supported\nby your platform, option will be ignored if not)"` IfMTU int `comment:"Maximux Transmission Unit (MTU) size for your local network interface"`