From 8f58d0621cce911fb5809e77b88589adc26e32c2 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Mon, 8 Feb 2016 21:39:21 +0000 Subject: [PATCH] Revert the accidental change of default values for raw in/out ports. This only affects standalone installs as the init.d script always supplies all ports, overriding the compiled-in defaults. Should fix #99 --- dump1090.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dump1090.c b/dump1090.c index f90cf98..a8a6ae6 100644 --- a/dump1090.c +++ b/dump1090.c @@ -145,8 +145,8 @@ void modesInitConfig(void) { Modes.ppm_error = MODES_DEFAULT_PPM; Modes.check_crc = 1; Modes.net_heartbeat_interval = MODES_NET_HEARTBEAT_INTERVAL; - Modes.net_output_raw_ports = strdup("30001"); - Modes.net_input_raw_ports = strdup("30002"); + Modes.net_input_raw_ports = strdup("30001"); + Modes.net_output_raw_ports = strdup("30002"); Modes.net_output_sbs_ports = strdup("30003"); Modes.net_input_beast_ports = strdup("30004,30104"); Modes.net_output_beast_ports = strdup("30005");