Make the faup1090 --net-fatsv-port option work.

* Fixed a bug that prevented the FlightAware TSV output port command line
option "--net-fatsv-port" from changing the assigned port.
This commit is contained in:
Karl Lehenbauer 2014-08-15 17:04:05 +00:00
parent db2f7d6a0e
commit 3e3c525b0b
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ void faupInitNet(void) {
// {"Beast TCP input", &Modes.bis, Modes.net_input_beast_port, 0},
// {"HTTP server", &Modes.https, Modes.net_http_port, 0},
// {"Basestation TCP output", &Modes.sbsos, Modes.net_output_sbs_port, 0},
{"FlightAware TSV output", &Modes.fatsvos, MODES_NET_OUTPUT_FA_TSV_PORT, 1}
{"FlightAware TSV output", &Modes.fatsvos, Modes.net_fatsv_port, 1}
};
memcpy(&services, &svc, sizeof(svc));//services = svc;