summaryrefslogtreecommitdiff
path: root/L4Code.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-11-11 21:42:35 +0000
committerDave Hibberd <hibby@debian.org>2025-11-11 21:42:35 +0000
commit9aad97786d945165530dcac2216c5b75e4632f82 (patch)
tree96c8400266ae38a742497c4e4a06ab34ee51839c /L4Code.c
parent453f162d225b192d5da5a843633208f0307e6afc (diff)
6.0.25.9
Diffstat (limited to 'L4Code.c')
-rw-r--r--L4Code.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/L4Code.c b/L4Code.c
index ecfd5f0..4bb6e18 100644
--- a/L4Code.c
+++ b/L4Code.c
@@ -1601,7 +1601,13 @@ VOID CONNECTREQUEST(struct _LINKTABLE * LINK, L3MESSAGEBUFFER * L3MSG, UINT Appl
int Index;
char APPLCMD[13] = "";
+<<<<<<< Updated upstream
memcpy(APPLCMD, APPL->APPLCMD, 13);
+||||||| Stash base
+=======
+ if (APPL)
+ memcpy(APPLCMD, APPL->APPLCMD, 13);
+>>>>>>> Stashed changes
memcpy(BPQPARAMS, &L4T1, 2); // SET DEFAULT T1 IN CASE NOT FROM ANOTHER BPQ NODE
@@ -1674,6 +1680,12 @@ VOID CONNECTREQUEST(struct _LINKTABLE * LINK, L3MESSAGEBUFFER * L3MSG, UINT Appl
{
// At the moment I only handle connects to appls. May support other node commands later.
+<<<<<<< Updated upstream
+||||||| Stash base
+=======
+ memcpy(APPLCMD, CMD->String, 13);
+
+>>>>>>> Stashed changes
if (n < APPL1 + NumberofAppls)
goto doAPPLConnect;
}
@@ -2028,7 +2040,7 @@ TryAgain:
while (n--)
{
- if (DEST->DEST_COUNT == 0 && DEST->DEST_RTT == 0) // Not used and not INP3
+ if (DEST->DEST_COUNT == 0 && DEST->DEST_RTT == 0 && (DEST->DEST_STATE & 0x80) == 0) // Not used and not INP3 and not Appl
{
if (DEST->NRROUTE[0].ROUT_QUALITY < WorstQual)
{