mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 21:30:11 +00:00
bug fix
This commit is contained in:
parent
11969ae627
commit
ef95e1eff5
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ READSB_CMD+=("--net-sbs-in-port=32006")
|
|||
# Handle a bunch of custom port assignments:
|
||||
#
|
||||
# net-bi-port is 30004,30104,${READSB_NET_BEAST_INPUT_PORT}
|
||||
ports="${READSB_NET_BEAST_INPUT_PORT}${READSB_NET_BEAST_INPUT_PORT:+,}30004,20104"
|
||||
ports="${READSB_NET_BEAST_INPUT_PORT}${READSB_NET_BEAST_INPUT_PORT:+,}30004,30104"
|
||||
ports="$(sort -nu <<< "${ports//,/$'\n'}" | sed -z 's/\n/,/g;s/^,//g;s/,$//g')" # de-duplication
|
||||
READSB_CMD+=("--net-bi-port=$ports")
|
||||
|
||||
|
|
Loading…
Reference in a new issue