mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-12-23 21:02:01 +00:00
if no mlat return port is defined in ULTRAFEEDER_CONFIG
, then still send results to MLAT-Hub by default
This commit is contained in:
parent
16ea7448ac
commit
a407113f1c
1 changed files with 6 additions and 2 deletions
|
@ -147,8 +147,12 @@ do
|
|||
|
||||
servername=${params[0]}
|
||||
|
||||
# add return port:
|
||||
[[ -n "${return_port_arg}" ]] && MLAT_PARAM+=("--results beast,listen,${return_port_arg}") || true
|
||||
# add return port. If none is defined, send data to the MLAT:
|
||||
if [[ -n "${return_port_arg}" ]] && ! chk_disabled "${return_port_arg}"; then
|
||||
MLAT_PARAM+=("--results beast,listen,${return_port_arg}")
|
||||
elif ! chk_disabled "${return_port_arg}"; then
|
||||
MLAT_PARAM+=("--results beast,connect,localhost:31004")
|
||||
fi
|
||||
|
||||
# add input-connect to the param array:
|
||||
MLAT_PARAM+=(--input-connect "${input_connect_arg:-localhost:30005}")
|
||||
|
|
Loading…
Reference in a new issue