diff --git a/faup1090.c b/faup1090.c index 4e02411..8d693e4 100644 --- a/faup1090.c +++ b/faup1090.c @@ -178,7 +178,7 @@ void faupInitNet(void) { } #endif - for (j = 0; j < MODES_NET_SERVICES_NUM; j++) { + for (j = 0; j < FAUP_NET_SERVICES_NUM; j++) { services[j].enabled = (services[j].port != 0); if (services[j].enabled) { int s = anetTcpServer(Modes.aneterr, services[j].port, NULL);