Fixed EMSI aka handshake

This commit is contained in:
Michiel Broek 2005-03-27 10:57:07 +00:00
parent 5f564c380e
commit b104599baa
2 changed files with 5 additions and 2 deletions

View File

@ -12,8 +12,11 @@ v0.71.2 16-Jan-2005
mbcico:
Added protection during binkp receive for zero bytes compressed
data frames, this will case uncompress error -5 because zero
data frames, this will cause uncompress error -5 because zero
bytes can't be compressed ar all.
Fixed test for valid aka's in the EMSI handshake that prevented
that host aka's (node /0) were not presented to the remote.
(thanks Przemyslaw Kwiatkowski).
mbfido:
Empty *.msg netmails for our own system are dropped with and

View File

@ -99,7 +99,7 @@ char *mkemsidat(int caller)
p = xstrcat(p, ascfnode(primary, 0x1f));
for (i = 0; i < 40; i++)
if ((CFG.aka[i].node) && (CFG.akavalid[i]) &&
if ((CFG.aka[i].zone) && (CFG.akavalid[i]) &&
((CFG.aka[i].zone != primary->zone) || (CFG.aka[i].net != primary->net) ||
(CFG.aka[i].node != primary->node) || (CFG.aka[i].point!= primary->point))) {
p = xstrcat(p, (char *)" ");