Skip to content

Commit

Permalink
Use correct number of configured rtpproxies.
Browse files Browse the repository at this point in the history
  • Loading branch information
bambyster committed Jun 6, 2024
1 parent e7b6aa7 commit bb653a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/b2bua_radius/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func main() {
if ! global_config.Foreground {
sippy_utils.Daemonize(global_config.Logfile, -1, -1, global_config.ErrorLogger())
}
rtp_proxy_clients := make([]sippy_types.RtpProxyClient, len(global_config.Rtp_proxy_clients))
rtp_proxy_clients := make([]sippy_types.RtpProxyClient, len(global_config.Rtp_proxy_clients_arr))
for i, address := range global_config.Rtp_proxy_clients_arr {
opts, err := sippy.NewRtpProxyClientOpts(address, nil /*bind_address*/, global_config, global_config.ErrorLogger())
if err != nil {
Expand Down

0 comments on commit bb653a2

Please sign in to comment.