From 43fad65cf79b9a3901d54c5ce074eace2c27d3a9 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Wed, 16 Oct 2024 17:13:44 -0400 Subject: [PATCH] Use correct relay key in Nebula config (#184) --- nebula/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nebula/config.go b/nebula/config.go index 878a6c9..ed0967b 100644 --- a/nebula/config.go +++ b/nebula/config.go @@ -14,7 +14,7 @@ type config struct { Stats configStats `yaml:"stats"` Handshakes configHandshakes `yaml:"handshakes"` Firewall configFirewall `yaml:"firewall"` - Relays configRelays `yaml:"relays"` + Relay configRelay `yaml:"relay"` } func newConfig() *config { @@ -38,7 +38,7 @@ func newConfig() *config { Punch: true, Delay: "1s", }, - Relays: configRelays{ + Relay: configRelay{ UseRelays: true, }, Cipher: "aes", @@ -205,7 +205,7 @@ type configFirewallRule struct { CAName string `yaml:"ca_name,omitempty"` } -type configRelays struct { +type configRelay struct { AmRelay bool `yaml:"am_relay,omitempty"` UseRelays bool `yaml:"use_relays"` relays []string `yaml:"relays,omitempty"`