Seenby addresses in the internal tables did not store the point numbers

This commit is contained in:
Michiel Broek 2006-03-29 18:36:35 +00:00
parent 7fa71090a4
commit 528238378a
2 changed files with 12 additions and 2 deletions

View File

@ -3,6 +3,10 @@ $Id$
v0.83.17 27-Mar-2006
mbfido:
Seenby addresses in the internal tables did not store the
point numbers.
v0.83.16 13-Mar-2006 - 27-Mar-2006

View File

@ -703,6 +703,9 @@ int ProcessTic(fa_list **sbl, orphans **opl)
if (CFG.akavalid[i] && (tic.Aka.zone == CFG.aka[i].zone)) {
p_from = fido2faddr(CFG.aka[i]);
if (! in_list(p_from, sbl, TRUE)) {
if (CFG.aka[i].point)
snprintf(sbe, 24, "%u:%u/%u.%u", CFG.aka[i].zone, CFG.aka[i].net, CFG.aka[i].node, CFG.aka[i].point);
else
snprintf(sbe, 24, "%u:%u/%u", CFG.aka[i].zone, CFG.aka[i].net, CFG.aka[i].node);
fill_list(sbl, sbe, NULL);
}
@ -715,6 +718,9 @@ int ProcessTic(fa_list **sbl, orphans **opl)
*/
for (tmpq = qal; tmpq; tmpq = tmpq->next) {
if (tmpq->send) {
if (CFG.aka[i].point)
snprintf(sbe, 24, "%u:%u/%u.%u", tmpq->aka.zone, tmpq->aka.net, tmpq->aka.node, tmpq->aka.point);
else
snprintf(sbe, 24, "%u:%u/%u", tmpq->aka.zone, tmpq->aka.net, tmpq->aka.node);
fill_list(sbl, sbe, NULL);
}