summaryrefslogtreecommitdiff
path: root/L3Code.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-09-04 22:52:15 +0100
committerDave Hibberd <hibby@debian.org>2025-09-04 22:52:15 +0100
commitd0f299bc02fd41b1b30843f4ac8ff2c198ae741e (patch)
treeb4ad91b12abced1b9e89566d09f44472204f4214 /L3Code.c
parent78f78927abe92a2c305117faa16b3e336f94f207 (diff)
parent7c796758d1b65d4d7585c90ba71b1fb339a4d283 (diff)
Update upstream source from tag 'upstream/6.0.25.1+repack'
Update to upstream version '6.0.25.1+repack' with Debian dir 5c600492d37f157e53545494f5a022c05441e400
Diffstat (limited to 'L3Code.c')
-rw-r--r--L3Code.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/L3Code.c b/L3Code.c
index 48f71bc..7c1d5b8 100644
--- a/L3Code.c
+++ b/L3Code.c
@@ -277,7 +277,7 @@ VOID PROCESSNODEMESSAGE(MESSAGE * Msg, struct PORTCONTROL * PORT)
{
APPL=&APPLCALLTABLE[App];
- if (APPL->APPLHASALIAS == 0 && CompareCalls(Msg->ORIGIN, APPL->APPLCALL))
+ if (CompareCalls(Msg->ORIGIN, APPL->APPLCALL))
return;
}
@@ -386,7 +386,7 @@ VOID PROCESSNODEMESSAGE(MESSAGE * Msg, struct PORTCONTROL * PORT)
NUMBEROFNODES++;
}
- // ALWAYS UPDATE ALIAS IN CASE NOT PRESENT IN ORIGINAL TABLE
+ // ALWAYS UPDATE ALIAS IN CASE NOT PRESENT IN ORIGINAL TABLE
ptr1 = &Msg->L2DATA[1];
ptr2 = &DEST->DEST_ALIAS[0];
@@ -454,10 +454,10 @@ VOID PROCESSNODEMESSAGE(MESSAGE * Msg, struct PORTCONTROL * PORT)
if (CheckExcludeList(ptr1) == 0) // Excluded
continue;
- for (n = 0; n < 32; n++)
+ for (n = 0; n < NumberofAppls; n++)
{
if (CompareCalls(ptr1, APPLCALLTABLE[n].APPLCALL))
- continue;
+ goto IgnoreNode; // Don't update our applications
}
// MAKE SURE ITS NOT CORRUPTED
@@ -566,7 +566,7 @@ VOID PROCESSNODEMESSAGE(MESSAGE * Msg, struct PORTCONTROL * PORT)
ptr1 += 7;
- // UPDATE ALIAS
+ // UPDATE ALIAS#
memcpy(DEST->DEST_ALIAS, ptr1, 6);