summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-11-11 21:50:47 +0000
committerDave Hibberd <hibby@debian.org>2025-11-11 21:50:47 +0000
commit85f200a46cf5e002e59e36b11ab4fba2f0422b33 (patch)
tree0ff6b163c3b3acd64194c7b933505a2a159e42ee /config.c
parent9aad97786d945165530dcac2216c5b75e4632f82 (diff)
New upstream version 6.0.25.11+repackupstream/6.0.25.11+repack
Diffstat (limited to 'config.c')
-rw-r--r--config.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/config.c b/config.c
index d90ba74..b41e0e8 100644
--- a/config.c
+++ b/config.c
@@ -379,7 +379,8 @@ static char *pkeywords[] =
"BCALL", "DIGIMASK", "NOKEEPALIVES", "COMPORT", "DRIVER", "WL2KREPORT", "UIONLY",
"UDPPORT", "IPADDR", "I2CBUS", "I2CDEVICE", "UDPTXPORT", "UDPRXPORT", "NONORMALIZE",
"IGNOREUNLOCKEDROUTES", "INP3ONLY", "TCPPORT", "RIGPORT", "PERMITTEDAPPLS", "HIDE",
-"SMARTID", "KISSCOMMAND", "SendtoM0LTEMap", "PortFreq", "M0LTEMapInfo", "QTSMPort", "ALLOWINP3", "ENABLEINP3"}; /* parameter keywords */
+"SMARTID", "KISSCOMMAND", "SendtoM0LTEMap", "PortFreq", "M0LTEMapInfo", "QTSMPort",
+"ALLOWINP3", "ENABLEINP3", "isRF"}; /* parameter keywords */
static void * poffset[] =
{
@@ -393,7 +394,8 @@ static void * poffset[] =
&xxp.BCALL, &xxp.DIGIMASK, &xxp.DefaultNoKeepAlives, &xxp.IOADDR, &xxp.DLLNAME, &xxp.WL2K, &xxp.UIONLY,
&xxp.IOADDR, &xxp.IPADDR, &xxp.INTLEVEL, &xxp.IOADDR, &xxp.IOADDR, &xxp.ListenPort, &xxp.NoNormalize,
&xxp.IGNOREUNLOCKED, &xxp.INP3ONLY, &xxp.TCPPORT, &xxp.RIGPORT, &xxp.PERMITTEDAPPLS, &xxp.Hide,
-&xxp.SmartID, &xxp.KissParams, &xxp.SendtoM0LTEMap, &xxp.PortFreq, &xxp.M0LTEMapInfo, &xxp.QtSMPort, &xxp.AllowINP3, &xxp.EnableINP3}; /* offset for corresponding data in config file */
+&xxp.SmartID, &xxp.KissParams, &xxp.SendtoM0LTEMap, &xxp.PortFreq, &xxp.M0LTEMapInfo, &xxp.QtSMPort,
+&xxp.AllowINP3, &xxp.EnableINP3, &xxp.isRF}; /* offset for corresponding data in config file */
static int proutine[] =
{
@@ -407,7 +409,8 @@ static int proutine[] =
0, 1, 2, 18, 15, 16, 2,
1, 17, 1, 1, 1, 1, 2,
2, 2, 1, 1, 19, 2,
-1, 20, 1, 21, 22, 1, 1, 1}; /* routine to process parameter */
+1, 20, 1, 21, 22, 1,
+1, 1, 1}; /* routine to process parameter */
int PPARAMLIM = sizeof(proutine)/sizeof(int);
@@ -635,13 +638,8 @@ BOOL ProcessConfig()
paramok[93]=1; // ONLYVer2point0
paramok[94]=1; // DEBUGINP3
paramok[95]=1; // EnableOARCAPI
-<<<<<<< Updated upstream
-||||||| Stash base
- paramok[93]=1; // C_ONLYVer2point0
-=======
paramok[96]=1; // OARCAPI
->>>>>>> Stashed changes
for (i=0; i < PARAMLIM; i++)
{
@@ -1825,6 +1823,7 @@ int ports(int i)
}
xxp.SendtoM0LTEMap = 1; // Default to enabled
+ xxp.isRF = -1; // Default to undefined
while (endport == 0 && !feof(fp1))
{