diff options
| author | Dave Hibberd <hibby@debian.org> | 2026-03-08 02:27:19 +0000 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2026-03-08 02:27:19 +0000 |
| commit | 90bbe9abf9996c82667d3e4f58b4e3db77129e48 (patch) | |
| tree | a3c1d7b3c884e3f3182db11968e94a8eb538e3f9 /cMain.c | |
| parent | 4f0df4999cd0f9e425a93dc08080b4084634c450 (diff) | |
| parent | 7aa6cec9300c8a3e9ef98b19791ad324d487512e (diff) | |
Update upstream source from tag 'upstream/6.0.25.33+repack'
Update to upstream version '6.0.25.33+repack'
with Debian dir 8c0c36c05c355f6cb21140b2ebd58907087b1423
Diffstat (limited to 'cMain.c')
| -rw-r--r-- | cMain.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1565,6 +1565,9 @@ BOOL Start() DEST->DEST_STATE = 0x80; // SPECIAL ENTRY
DEST->NRROUTE[0].ROUT_QUALITY = 255;
DEST->NRROUTE[0].ROUT_OBSCOUNT = 255;
+ if (DEST->RouteLastTT == 0)
+ DEST->RouteLastTT = (uint16_t *)zalloc(MAXNEIGHBOURS * sizeof(uint16_t));
+
DEST++;
NUMBEROFNODES++;
}
@@ -1585,6 +1588,9 @@ BOOL Start() DEST->NRROUTE[0].ROUT_QUALITY = (UCHAR)APPL->APPLQUAL;
DEST->NRROUTE[0].ROUT_OBSCOUNT = 255;
APPL->NODEPOINTER = DEST;
+ if (DEST->RouteLastTT == 0)
+ DEST->RouteLastTT = (uint16_t *)zalloc(MAXNEIGHBOURS * sizeof(uint16_t));
+
DEST++;
@@ -2120,6 +2126,9 @@ VOID ReadNodes() memcpy(DEST->DEST_CALL, axcall, 7);
memcpy(DEST->DEST_ALIAS, FULLALIAS, 6);
+ if (DEST->RouteLastTT == 0)
+ DEST->RouteLastTT = (uint16_t *)zalloc(MAXNEIGHBOURS * sizeof(uint16_t));
+
NUMBEROFNODES++;
RouteLoop:
|
