From 70156fde5ce5823453042aa6aa7575dd497eeacb Mon Sep 17 00:00:00 2001 From: Matthew Sandoval Date: Wed, 31 Jul 2024 14:53:48 -0700 Subject: [PATCH] Fix UDPPeers default (#1102) --- cmd/defaults.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/defaults.go b/cmd/defaults.go index 93d568c02..0710d86d1 100644 --- a/cmd/defaults.go +++ b/cmd/defaults.go @@ -39,7 +39,7 @@ func SetWSListenerDefaults(config *ReceptorConfig) { } func SetUDPPeerDefaults(config *ReceptorConfig) { - for _, peer := range config.TCPPeers { + for _, peer := range config.UDPPeers { if peer.Cost == 0 { peer.Cost = 1.0 }