summaryrefslogtreecommitdiff
path: root/L3Code.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-09-04 22:52:12 +0100
committerDave Hibberd <hibby@debian.org>2025-09-04 22:52:12 +0100
commit7c796758d1b65d4d7585c90ba71b1fb339a4d283 (patch)
tree232547ccf785f9413d039522d15b0cbfa5bf1618 /L3Code.c
parentfa3201d982100b5168f155f7c544f4fc902079d7 (diff)
New upstream version 6.0.25.1+repackupstream/6.0.25.1+repack
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);