diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-11-09 22:34:23 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-11-09 22:34:23 +0000 |
| commit | 3c2c1cf9f880267b8006b87fbe84cd73a645be38 (patch) | |
| tree | 8dd6026fe09e80dbc5f0ce12c67a08ce8df75ad4 /L4Code.c | |
| parent | e569b24f9aea7eacce84d6caa646eacd452bea5f (diff) | |
| parent | 367ab8fb01191ec54c91810b1896c41fdf7de911 (diff) | |
Update upstream source from tag 'upstream/6.0.25.9+repack'
Update to upstream version '6.0.25.9+repack'
with Debian dir 15e3115d6f28e4fa9b1c62d4e3c93da6570dc7bc
Diffstat (limited to 'L4Code.c')
| -rw-r--r-- | L4Code.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1601,7 +1601,8 @@ VOID CONNECTREQUEST(struct _LINKTABLE * LINK, L3MESSAGEBUFFER * L3MSG, UINT Appl int Index;
char APPLCMD[13] = "";
- memcpy(APPLCMD, APPL->APPLCMD, 13);
+ if (APPL)
+ memcpy(APPLCMD, APPL->APPLCMD, 13);
memcpy(BPQPARAMS, &L4T1, 2); // SET DEFAULT T1 IN CASE NOT FROM ANOTHER BPQ NODE
@@ -1674,6 +1675,8 @@ VOID CONNECTREQUEST(struct _LINKTABLE * LINK, L3MESSAGEBUFFER * L3MSG, UINT Appl {
// At the moment I only handle connects to appls. May support other node commands later.
+ memcpy(APPLCMD, CMD->String, 13);
+
if (n < APPL1 + NumberofAppls)
goto doAPPLConnect;
}
@@ -2028,7 +2031,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)
{
|
