Removed incorrect Precise field from netmail Via lines.

This commit is contained in:
Andrew Leary 2015-08-07 18:24:21 -04:00
parent bef52679ae
commit 9fbf004680
3 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
v1.0.6.1 07-Aug-2015 - Andrew Leary
1. Removed the Precise field from Via lines in netmail, as
it was not actually accurate anyway. Forwarded netmails had
this field set to .00, and locally generated netmails had this
field set to .01. This field is optional in FTS-4009, but
if used is supposed to indicate fractions of a second.
v1.0.6 03-Aug-2015 - Andrew Leary
1. Added support for specifying a literal IPv6 address

View File

@ -438,7 +438,7 @@ int postnetmail(FILE *fp, faddr *f, faddr *t, char *orig, char *subject, time_t
now = time(NULL);
tm = gmtime(&now);
ta = bestaka_s(t);
fprintf(net, "\001Via %s @%d%02d%02d.%02d%02d%02d.00.UTC mbfido %s\r",
fprintf(net, "\001Via %s @%d%02d%02d.%02d%02d%02d.UTC mbfido %s\r",
ascfnode(ta, 0x1f), tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday,
tm->tm_hour, tm->tm_min, tm->tm_sec, VERSION);
tidy_faddr(ta);

View File

@ -1048,7 +1048,7 @@ void ExportNet(unsigned int MsgNum, int UUCPgate)
now = time(NULL);
tm = gmtime(&now);
fprintf(qp, "\001Via %s @%d%02d%02d.%02d%02d%02d.01.UTC MBSE BBS %s\r",
fprintf(qp, "\001Via %s @%d%02d%02d.%02d%02d%02d.UTC MBSE BBS %s\r",
aka2str(msgs.Aka), tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday,
tm->tm_hour, tm->tm_min, tm->tm_sec, VERSION);