summaryrefslogtreecommitdiff
path: root/ARDOP.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-07-14 23:14:11 +0100
committerDave Hibberd <hibby@debian.org>2025-07-14 23:14:11 +0100
commitb2315840b26a7ae5c38b0f9ed25e597f320c545e (patch)
tree4eaec3a3c8f5825155c5a94161dbd7e360a35c0e /ARDOP.c
parent0d3ee7fd56efa24ba652fbc17f98dd10458e8054 (diff)
New upstream version 6.0.24.75+repackupstream/6.0.24.75+repack
Diffstat (limited to 'ARDOP.c')
-rw-r--r--ARDOP.c35
1 files changed, 21 insertions, 14 deletions
diff --git a/ARDOP.c b/ARDOP.c
index 8230039..ade0ecf 100644
--- a/ARDOP.c
+++ b/ARDOP.c
@@ -2061,21 +2061,12 @@ VOID * ARDOPExtInit(EXTPORTDATA * PortEntry)
strcat(TempScript, "ARQTIMEOUT 90\r");
// strcat(TempScript, "ROBUST False\r");
- strcat(TempScript, TNC->InitScript);
-
- free(TNC->InitScript);
- TNC->InitScript = TempScript;
-
- // Set MYCALL
-
-// strcat(TNC->InitScript,"FECRCV True\r");
-// strcat(TNC->InitScript,"AUTOBREAK True\r");
+ // Make MYAUX and MYCALL overridable
+
sprintf(Msg, "MYCALL %s\r", TNC->NodeCall);
- strcat(TNC->InitScript, Msg);
-// strcat(TNC->InitScript,"PROCESSID\r");
-// strcat(TNC->InitScript,"CODEC TRUE\r");
-// strcat(TNC->InitScript,"LISTEN TRUE\r");
+ strcat(TempScript, Msg);
+
for (i = 0; i < 32; i++)
{
@@ -2099,9 +2090,25 @@ VOID * ARDOPExtInit(EXTPORTDATA * PortEntry)
if (strlen(Aux) > 8)
{
Aux[strlen(Aux) - 1] = '\r';
- strcat(TNC->InitScript, Aux);
+ strcat(TempScript, Aux);
}
+
+ strcat(TempScript, TNC->InitScript);
+
+ free(TNC->InitScript);
+ TNC->InitScript = TempScript;
+
+
+
+// strcat(TNC->InitScript,"FECRCV True\r");
+// strcat(TNC->InitScript,"AUTOBREAK True\r");
+// strcat(TNC->InitScript,"PROCESSID\r");
+// strcat(TNC->InitScript,"CODEC TRUE\r");
+// strcat(TNC->InitScript,"LISTEN TRUE\r");
+
+
+
strcpy(TNC->CurrentMYC, TNC->NodeCall);
if (TNC->WL2K == NULL)