From 3e3c525b0b8d5deef4c58941dfe476ad39fca11f Mon Sep 17 00:00:00 2001 From: Karl Lehenbauer Date: Fri, 15 Aug 2014 17:04:05 +0000 Subject: [PATCH] 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. --- faup1090.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faup1090.c b/faup1090.c index 09c121b..dda2691 100644 --- a/faup1090.c +++ b/faup1090.c @@ -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;