Removed incorrect Precise field from netmail Via lines.
This commit is contained in:
parent
bef52679ae
commit
9fbf004680
@ -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
|
v1.0.6 03-Aug-2015 - Andrew Leary
|
||||||
|
|
||||||
1. Added support for specifying a literal IPv6 address
|
1. Added support for specifying a literal IPv6 address
|
||||||
|
@ -438,7 +438,7 @@ int postnetmail(FILE *fp, faddr *f, faddr *t, char *orig, char *subject, time_t
|
|||||||
now = time(NULL);
|
now = time(NULL);
|
||||||
tm = gmtime(&now);
|
tm = gmtime(&now);
|
||||||
ta = bestaka_s(t);
|
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,
|
ascfnode(ta, 0x1f), tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday,
|
||||||
tm->tm_hour, tm->tm_min, tm->tm_sec, VERSION);
|
tm->tm_hour, tm->tm_min, tm->tm_sec, VERSION);
|
||||||
tidy_faddr(ta);
|
tidy_faddr(ta);
|
||||||
|
@ -1048,7 +1048,7 @@ void ExportNet(unsigned int MsgNum, int UUCPgate)
|
|||||||
|
|
||||||
now = time(NULL);
|
now = time(NULL);
|
||||||
tm = gmtime(&now);
|
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,
|
aka2str(msgs.Aka), tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday,
|
||||||
tm->tm_hour, tm->tm_min, tm->tm_sec, VERSION);
|
tm->tm_hour, tm->tm_min, tm->tm_sec, VERSION);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user