Skip to content

Commit

Permalink
Fix UDPPeers default (#1102)
Browse files Browse the repository at this point in the history
  • Loading branch information
matoval authored Jul 31, 2024
1 parent ac7d4be commit 70156fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 70156fd

Please sign in to comment.