From 528238378a5ba5ba3fb4fb1f9b2380e55992e442 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Wed, 29 Mar 2006 18:36:35 +0000 Subject: [PATCH] Seenby addresses in the internal tables did not store the point numbers --- ChangeLog | 4 ++++ mbfido/ptic.c | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f3cd9b03..1df9bb98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/mbfido/ptic.c b/mbfido/ptic.c index 3548e2f9..3b30d86f 100644 --- a/mbfido/ptic.c +++ b/mbfido/ptic.c @@ -703,7 +703,10 @@ 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)) { - snprintf(sbe, 24, "%u:%u/%u", CFG.aka[i].zone, CFG.aka[i].net, CFG.aka[i].node); + 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); } tidy_faddr(p_from); @@ -715,7 +718,10 @@ int ProcessTic(fa_list **sbl, orphans **opl) */ for (tmpq = qal; tmpq; tmpq = tmpq->next) { if (tmpq->send) { - snprintf(sbe, 24, "%u:%u/%u", tmpq->aka.zone, tmpq->aka.net, tmpq->aka.node); + 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); } }