summaryrefslogtreecommitdiff
path: root/UZ7HODrv.c
diff options
context:
space:
mode:
authorg8bpq <john.wiseman@cantab.net>2023-06-21 08:21:04 +0100
committerg8bpq <john.wiseman@cantab.net>2023-06-21 08:21:04 +0100
commit75b5bcc9a97b38c6c0c210bf14fabad9cadf704a (patch)
tree913d37a3946a40e9694833ed36fd5a8e02a23d42 /UZ7HODrv.c
parenta21121fbfce48307740e6ade5f4f16531501b053 (diff)
6.0.23.7623.77
Diffstat (limited to 'UZ7HODrv.c')
-rw-r--r--UZ7HODrv.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/UZ7HODrv.c b/UZ7HODrv.c
index 119d48e..90732a2 100644
--- a/UZ7HODrv.c
+++ b/UZ7HODrv.c
@@ -339,8 +339,13 @@ BOOL UZ7HOStartPort(struct PORTCONTROL * PORT)
-VOID UZ7HOSuspendPort(struct TNCINFO * TNC)
+VOID UZ7HOSuspendPort(struct TNCINFO * TNC, struct TNCINFO * ThisTNC)
{
+ // We don't want to suspend port if on same TNC
+
+ if (MasterPort[TNC->Port] == MasterPort[ThisTNC->Port])
+ return;
+
TNC->PortRecord->PORTCONTROL.PortSuspended = TRUE;
RegisterAPPLCalls(TNC, TRUE);
}
@@ -2315,6 +2320,16 @@ GotStream:
if (_stricmp(RXHeader->callto, Appl) == 0)
break;
+
+ memcpy(Appl, APPL->APPLALIAS_TEXT, 10);
+ ptr=strchr(Appl, ' ');
+
+ if (ptr)
+ *ptr = 0;
+
+ if (_stricmp(RXHeader->callto, Appl) == 0)
+ break;
+
}
if (App < 32)