From b2315840b26a7ae5c38b0f9ed25e597f320c545e Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Mon, 14 Jul 2025 23:14:11 +0100 Subject: New upstream version 6.0.24.75+repack --- config.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'config.c') diff --git a/config.c b/config.c index 2ca25d3..a1b39a2 100644 --- a/config.c +++ b/config.c @@ -308,7 +308,8 @@ static char *keywords[] = "BTEXT:", "NETROMCALL", "C_IS_CHAT", "MAXRTT", "MAXHOPS", // IPGATEWAY= no longer allowed "LogL4Connects", "LogAllConnects", "SAVEMH", "ENABLEADIFLOG", "ENABLEEVENTS", "SAVEAPRSMSGS", "EnableM0LTEMap", "MQTT", "MQTT_HOST", "MQTT_PORT", "MQTT_USER", "MQTT_PASS", -"L4Compress", "L4CompMaxframe", "L4CompPaclen", "L2Compress", "L2CompMaxframe", "L2CompPaclen", "PREFERINP3ROUTES" +"L4Compress", "L4CompMaxframe", "L4CompPaclen", "L2Compress", "L2CompMaxframe", +"L2CompPaclen", "PREFERINP3ROUTES", "OnlyVer2point0" }; /* parameter keywords */ static void * offset[] = @@ -331,7 +332,7 @@ static void * offset[] = &xxcfg.C_LogL4Connects, &xxcfg.C_LogAllConnects, &xxcfg.C_SaveMH, &xxcfg.C_ADIF, &xxcfg.C_EVENTS, &xxcfg.C_SaveAPRSMsgs, &xxcfg.C_M0LTEMap, &xxcfg.C_MQTT, &xxcfg.C_MQTT_HOST, &xxcfg.C_MQTT_PORT, &xxcfg.C_MQTT_USER, &xxcfg.C_MQTT_PASS, &xxcfg.C_L4Compress, &xxcfg.C_L4CompMaxframe, &xxcfg.C_L4CompPaclen, &xxcfg.C_L2Compress, &xxcfg.C_L2CompMaxframe, -&xxcfg.C_L2CompPaclen, &xxcfg.C_PREFERINP3ROUTES}; /* offset for corresponding data in config file */ +&xxcfg.C_L2CompPaclen, &xxcfg.C_PREFERINP3ROUTES, &xxcfg.C_OnlyVer2point0}; /* offset for corresponding data in config file */ static int routine[] = { @@ -353,7 +354,7 @@ static int routine[] = 2, 2, 1, 2, 2, 2, 2, 2, 0, 1, 20, 20, 1, 1, 1, 1, 1, -1, 1} ; // Routine to process param +1, 1, 1} ; // Routine to process param int PARAMLIM = sizeof(routine)/sizeof(int); //int NUMBEROFKEYWORDS = sizeof(routine)/sizeof(int); @@ -629,7 +630,7 @@ BOOL ProcessConfig() paramok[90]=1; // L2Compress Maxframe paramok[91]=1; // L2Compress Paclen paramok[92]=1; // PREFERINP3ROUTES - + paramok[93]=1; // C_ONLYVer2point0 for (i=0; i < PARAMLIM; i++) { -- cgit v1.2.3